No basic user information in idToken

Yes, it helped a lot, sending me into the right direction. It wasn’t immediate to find the fix cause I was expecting it to be on the AuthenticationController builder, but it is actually on the AuthorizeUrl builder:

String authorizeUrl = authenticationControllerProvider
    .getInstance()
    .buildAuthorizeUrl(req, res, redirectUri)
    **.withScope("openid profile email")**
    .build();

You are a life savior. Thank you very very much.

All the best

1 Like