You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I was not able to find in token settings a similar function like below
I could not find any documentation for this project anywhere, I know it worked in 0.0.3, but unsure if the behavior has changed now?
To Reproduce
Create a client with following settings using spring-authorization-server version 0.2.2 RegisteredClient registeredClient = RegisteredClient.withId(UUID.randomUUID().toString()) .clientId("glassdev-postman-client-pkce") .clientAuthenticationMethod(ClientAuthenticationMethod.NONE) .authorizationGrantType(AuthorizationGrantType.AUTHORIZATION_CODE) .authorizationGrantType(AuthorizationGrantType.REFRESH_TOKEN) .redirectUri("https://oauth.pstmn.io/v1/callback") .scope(OidcScopes.OPENID) .build();
Complete authorization grant flow and request access token, should receive payload with access token and id token, but missing refresh token.
Expected behavior
Should return below:
access token
id token
refresh token
The text was updated successfully, but these errors were encountered:
rayman245
changed the title
Refresh Token not Returned with authorization_code grant flow.
Refresh Token not Returned with authorization_code grant flow. (PKCE)
Feb 13, 2022
Describe the bug
The refresh token isn't being returned. I tried to follow this guide (https://www.appsdeveloperblog.com/new-oauth2-authorization-server/)
Although I was not able to find in token settings a similar function like below

I could not find any documentation for this project anywhere, I know it worked in 0.0.3, but unsure if the behavior has changed now?
To Reproduce
Create a client with following settings using spring-authorization-server version 0.2.2
RegisteredClient registeredClient = RegisteredClient.withId(UUID.randomUUID().toString()) .clientId("glassdev-postman-client-pkce") .clientAuthenticationMethod(ClientAuthenticationMethod.NONE) .authorizationGrantType(AuthorizationGrantType.AUTHORIZATION_CODE) .authorizationGrantType(AuthorizationGrantType.REFRESH_TOKEN) .redirectUri("https://oauth.pstmn.io/v1/callback") .scope(OidcScopes.OPENID) .build();
Complete authorization grant flow and request access token, should receive payload with access token and id token, but missing refresh token.
Expected behavior
Should return below:
The text was updated successfully, but these errors were encountered: