Skip to content

[5.x] Throw 404 response when OAuth provider doesn't exist #11844

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

Merged
merged 2 commits into from
Jun 4, 2025

Conversation

duncanmcclean
Copy link
Member

This pull request adds a check to Statamic's OAuth routes to ensure the passed provider has been configured, otherwise it should throw a 404 (was previously throwing a 500 error).

Fixes #11842.

@duncanmcclean duncanmcclean merged commit e37a91e into 5.x Jun 4, 2025
26 checks passed
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.

Non-existent Socialite driver causes 500
1 participant