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

OIDC /userinfo lookup improvements #14307

Merged
merged 2 commits into from
Mar 14, 2021

Conversation

mraible
Copy link
Contributor

@mraible mraible commented Mar 13, 2021

This changes things so microservices don't have a CustomClaimConverter for looking up a user's attributes. It should only be at the gateway or monolith level. Since it wasn't implemented for reactive, this means it only applies to non-reactive monoliths now. FYI @Falydoor.


Please make sure the below checklist is followed for Pull Requests.

(generator.applicationType === 'monolith' ||
generator.applicationType === 'microservice' ||
generator.applicationType === 'gateway'),
condition: generator => !generator.reactive && generator.authenticationType === 'oauth2' && generator.applicationType === 'monolith',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about gateway?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature was never implemented for WebFlux. Since our gateway is now WebFlux-only, it doesn't make sense to include this. Adding it to WebFlux is being tracked by #13461.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This explains that. Thank you!

@Tcharl Tcharl merged commit 8c33dc0 into jhipster:main Mar 14, 2021
@pascalgrimaud pascalgrimaud added this to the v7.0.0 milestone Mar 20, 2021
@mraible mraible deleted the no-user-lookup-for-microservices branch April 5, 2021 15:33
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

3 participants