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

spring security oauth2 jwt + spring cloud gateway #2

Open
xuzhi7162 opened this issue Sep 16, 2019 · 4 comments
Open

spring security oauth2 jwt + spring cloud gateway #2

xuzhi7162 opened this issue Sep 16, 2019 · 4 comments

Comments

@xuzhi7162
Copy link

Now, I want to replace UAA with spring security oauth2. But I have encountered some problems.
I separately verified that oauth2 has the correct return format.But using the network management jump access will have the following error
[invalid_id_token] Missing (required) ID Token in Token Response for Client Registration: gateway
org.springframework.security.oauth2.core.OAuth2AuthenticationException: [invalid_id_token] Missing (required) ID Token in Token Response for Client Registration: gateway at org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeReactiveAuthenticationManager.authenticationResult(OidcAuthorizationCodeReactiveAuthenticationManager.java:165) ~[spring-security-oauth2-client-5.1.6.RELEASE.jar:5.1.6.RELEASE] at org.springframework.security.oauth2.client.oidc.authentication.OidcAuthorizationCodeReactiveAuthenticationManager.lambda$null$1(OidcAuthorizationCodeReactiveAuthenticationManager.java:140) ~[spring-security-oauth2-client-5.1.6.RELEASE.jar:5.1.6.RELEASE]

@xuzhi7162
Copy link
Author

Thank you!

@cryice
Copy link

cryice commented Nov 4, 2019

yeah, i have the save question

@benwilcock
Copy link
Owner

I'd recommend using the UAA or some similar product as your security implementation.

@andy221166
Copy link

andy221166 commented May 16, 2021

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

No branches or pull requests

4 participants