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: set additional scopes and make email_verified optional #63

Merged
merged 1 commit into from
May 8, 2024

Conversation

ColinFrick
Copy link
Collaborator

@ColinFrick ColinFrick commented May 8, 2024

FusionAuth 1.50.0 introduced the Scope Handling Policy. In new installation it's set to scopeHandlingPolicy.Strict, which causes previously available fields to not be included in the response.

The fusionauth_config.json was updated to include the additional scopes email and profile.

In the UserInfo class, the required field email_verified was made optional, providing a null default value to prevent issues when this field is not provided.

Closes #62

…ed optional in UserInfo

The fusionauth_config.json was updated to include the additional scopes "email" and "profile."

In UserInfo class, the required field "email_verified" was made optional, providing a null default value to prevent issues when this field is not provided.
@ColinFrick ColinFrick added the bug Something isn't working label May 8, 2024
@ColinFrick ColinFrick self-assigned this May 8, 2024
@Aaron-Ritter
Copy link
Collaborator

For reference: UserInfo Response: In Strict mode the response claims are populated based on the scope values of the provided token and available information on the User object. This behavior more closely aligns with the OpenID Connect 1.0 specification recommendations.

@Aaron-Ritter Aaron-Ritter merged commit 6aca131 into main May 8, 2024
14 checks passed
@Aaron-Ritter Aaron-Ritter deleted the fix/user-info branch May 13, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants