We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to mock a service that unfortunately doesn't follow spec. The JWT library you use has support for flattening the audience, but this is not exposed in your project. I was able to add the following code to https://github.com/murar8/local-jwks-server/blob/main/internal/token/token.go#L66 to fix my problem locally, but I am not good enough at GO to make a pull request. t.Options().Enable(jwt.FlattenAudience) The line was taken from the following example in the library: https://github.com/lestrrat-go/jwx/blob/develop/v3/examples/jwt_flatten_audience_example_test.go
t.Options().Enable(jwt.FlattenAudience)
Thank you for a great project!
The text was updated successfully, but these errors were encountered:
Hi @marhag87, makes sense, let me take a look.
Sorry, something went wrong.
No branches or pull requests
I am trying to mock a service that unfortunately doesn't follow spec. The JWT library you use has support for flattening the audience, but this is not exposed in your project. I was able to add the following code to https://github.com/murar8/local-jwks-server/blob/main/internal/token/token.go#L66 to fix my problem locally, but I am not good enough at GO to make a pull request.
t.Options().Enable(jwt.FlattenAudience)
The line was taken from the following example in the library: https://github.com/lestrrat-go/jwx/blob/develop/v3/examples/jwt_flatten_audience_example_test.go
Thank you for a great project!
The text was updated successfully, but these errors were encountered: