Karan "Sunny" D.

Results 2 comments of Karan "Sunny" D.

@jgrandja I am facing this problem where spring security isn't sending the scopes to auth server (azure). I traced it back to `OAuth2AuthorizationCodeGrantRequestEntityConverter.java` which is ignoring the "scope" and "resource"...

@jgrandja, yes, I had configured the scopes correctly: `spring.security.oauth2.client.registration.azure.scope=openid,user.read,offline_access,files.read.all` but that didn't work. Eventually I found this configuration: ``` http.oauth2Login() .tokenEndpoint() .accessTokenResponseClient(aadAccessTokenResponseClient()); ``` So I ended up creating my custom...