Skip to content
New issue

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

Allow to change the url jwks.json. #59

Closed
waldo2188 opened this issue Jul 18, 2018 · 2 comments
Closed

Allow to change the url jwks.json. #59

waldo2188 opened this issue Jul 18, 2018 · 2 comments

Comments

@waldo2188
Copy link

I use your bundle against our own JWT provider.

In the bundle, the url for retrieving the jwks is hard coded with the value .well-known/jwks.json
But the url for retrieving jwks on our provider is /.well-known/openid-configuration/jwks.

How can I configure this value with what I need?

@joshcanhelp
Copy link
Contributor

@waldo2188 - Thanks for the report here. That's actually hard-coded into the PHP SDK, which this bundle relies on. I'm not seeing any way to configure that at all currently but I will add that as an issue in the SDK and see if we can find a fix here.

If you have control over the JWKS URL, can you add a redirect from .well-known/jwks.json to .well-known/openid-configuration/jwks?

@waldo2188
Copy link
Author

That's my problem, I can't change or add a redirect to this URL. So for now, I have change the URL directly in the PHP SDK. I know it's not a good things to do, but it works.

Thanks for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants