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

FIX: do not attempt to fetch user JSON if URL is not set #94

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

ldmosquera
Copy link
Contributor

@ldmosquera ldmosquera commented Jan 24, 2024

It is a configuration error to set oauth2_fetch_user_details to true but leave oauth2_user_json_url empty.

Before, this resulted in an unhandled exception in core. Now it is checked for here.

@ldmosquera ldmosquera force-pushed the fix-empty-user-json-url branch 4 times, most recently from 18fdf08 to 1f6fa96 Compare January 24, 2024 20:05
It is a configuration error to set oauth2_fetch_user_details to true but leave oauth2_user_json_url empty.

Before, this resulted in an unhandled exception in core. Now it is checked here.
@ldmosquera ldmosquera merged commit d1161b9 into main Jan 24, 2024
3 checks passed
@ldmosquera ldmosquera deleted the fix-empty-user-json-url branch January 24, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants