lestrrat
lestrrat
Okay, if upgrading jwx isn't a top priority, you may want to wait for me conjure up the low level APIs for jwx. I'm starting to think of something like...
@anderseknert I have semi-working code in my [jwx3 branch](https://github.com/lestrrat-go/opa/tree/jwx3). * I've been focusing on v1/bundle directory. I haven't really checked other parts. * I haven't run `go mod vendor` to...
@anderseknert Do you have the branch you're working on available? I'm not too familiar with the internal workings of opa, so I'm having to trace where the mysterious seed is...
@anderseknert Got it, thanks :) Yeah, let me ponder for a bit, and I'll get back to you soon.
@anderseknert FYI I think introducing this change would do it for you. Either way, I'm going to work on both jwx and my opa fork so will get back to...
@anderseknert rebased, and draft PR submitted. I think v1/topdown/tokens.go looks much cleaner. I haven't fixed the error message tests, and I haven't included the new `go mod vendor` yet. I'm...
@makasim Yeah, though it's not being actively developed but I haven't abandoned it. wrt to your actual feature request, I'm not entirely sure if it fits in a fluent client,...
I think this is working as expected; but we should probably write more docs for `(jwk.Cache).Register`. Your code should be: ```go c.Register(..., jwk.WithWaitReady(false)) ``` By default, `(jwk.Cache).Register` attempts to fetch...
Let me remember why this is the way it is... --- ## case when URL returns erroneous response on Register, and we report error + refuse to register it 1....
@theory can you try https://github.com/lestrrat-go/jwx/tree/gh-1487 You should be able to do this now: ```go err = c.Register(ctx, srv.URL, jwk.WithHTTPClient(srv.Client())) require.ErrorIs(t, err, httprc.ErrNotReady()) ``` With the new httprc, it shouldn't block,...