Skip to content

Fixes gh-8187 : OAuth2 ClientRegistrations UserInfo endpoint NPE fix #8206

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

Closed

Conversation

martinnemec3
Copy link

A null check was added to the code that caused the NPE. A unit test was added.

Fixes gh-8187.

@pivotal-issuemaster
Copy link

@martinnemec3 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@martinnemec3 Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 26, 2020
@jgrandja jgrandja added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 27, 2020
@jgrandja jgrandja self-assigned this Mar 27, 2020
@jgrandja jgrandja added this to the 5.4.0.M1 milestone Mar 27, 2020
@jgrandja
Copy link
Contributor

Thank you for the PR @martinnemec3 ! This is now in master and backported to 5.2.x.

@jgrandja jgrandja closed this Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OAuth2 ClientRegistrations NPE when UserInfo endpoint missing
4 participants