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

Adding well-known configuration and JWKS routes in Laravel #12

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

GewoonYorick
Copy link
Contributor

When using Laravel with Passport, we have enough knowledge of the environment
to be able to provide 2 useful routes our of the box:

a discovery endpoint at /.well-known/openid-configuration.
a JWKS endpoint at /oauth/jwks.
This greatly eases integrating with Laravel since clients can now
use auto-discovery to integrate with Laravel + PassPort + OpenID.

This PR has been successfully tested using the Javascript openid-client package.
This PR is based on ronvanderheijden/openid-connect#16

Ref: #9
Thanks go to @moufmouf

@jeremy379 jeremy379 self-assigned this Apr 24, 2024
@jeremy379 jeremy379 merged commit 8683b3b into jeremy379:main Apr 24, 2024
1 check failed
@jeremy379
Copy link
Owner

Thanks for submitting this :)
Looks good, it's merged. I'll issue a release so the version is updated

@GewoonYorick GewoonYorick deleted the autodiscovery branch April 24, 2024 14:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants