-
Notifications
You must be signed in to change notification settings - Fork 74
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
Multiple authorized issuer #85
Multiple authorized issuer #85
Conversation
@antzo - Thank you for the PR here! Can you explain what your use case is for having multiple allowed ID token issuers? |
@joshcanhelp Of course! In my use case I have two applications: a) iOS client that is consuming an API with In this case I have to maintain the compatibility with both app's till the b) app changes to the new token issuer. Seems like the auth0-php library is implementing |
Let me know if you want me to add some unit tests but I think that is enough with the current suite |
@antzo - Thank you for the details here, that's helpful. The next major version of the PHP SDK will actually remove the ability to set a custom issuer, single or multiple. But that change was made because we're improving our compliance with the OIDC specifications, which is centered around ID tokens, not access tokens. Unfortunately, those two concepts are conflated in the SDK, making for situations like this. I'm going to approve this for now since this bundle will need to do what you're asking for here and it's pinned at the major level for the SDK. |
|
@joshcanhelp @antzo this PR introduced a BC.
had to be changed to:
|
@darthf1 - What was the value of |
Changes
Auth0Service
now can handle multipleauthorized_issuer
This is a non-breaking change that allows the original string definition for
jwt_auth.authorized_issuer
to continue working.Testing
[x] All existing tests complete without errors