-
Notifications
You must be signed in to change notification settings - Fork 8
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
Auth fail with external userInfos returned as JWT type #168
Comments
We'll have a look with @f-necas when he comes back. |
That's the point. I need to understand the gateway before... not really easy :) |
In addition,
|
About my last comment, I've found the error in the spring code.
Lines 190 to 197 in 066ccef
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to #160,
I try to understand and adapt the gateway to work fine with ProConnect users.
However, I get errors when gateway tries to read the user information provided by ProConnect.
Here some explicit logs :
Also, we can understand that :
application/jwt
typeapplication/jwt
response type (see specs)application/json
application/jwt
type/login?error
without anyERROR
logs or explicit informations withINFO
debug levelI'm not sure if this issue is about a potential transition from FranceConnect
V1
toV2
(@fvanderbiest @f-necas).Here a spring issue about :
DefaultOAuth2UserService
to handle other content types spring-projects/spring-security#9629 (comment)Here's a potential solution :
https://stackoverflow.com/questions/59876435/spring-fails-for-userinfo-endpoint-returning-signed-jwt
https://docs.spring.io/spring-authorization-server/reference/guides/how-to-userinfo.html#:~:text=The%20OpenID%20Connect%201.0%20UserInfo%20endpoint%20is%20an%20OAuth2%20protected,Bearer%20Token%20Usage%20%5BRFC6750%5D.
https://docs.spring.io/spring-authorization-server/reference/protocol-endpoints.html#oidc-user-info-endpoint
The text was updated successfully, but these errors were encountered: