fix(oidc): correctly return new refresh token on refresh token grant (#7707)

* fix(oidc): correctly return new refresh token on refresh token grant

* fix import
This commit is contained in:
Livio Spring
2024-04-04 15:58:40 +00:00
committed by GitHub
parent a988b9cc05
commit 29ad51b0e3
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ func (c *Commands) RenewRefreshTokenAndAccessToken(
if err != nil {
return nil, "", err
}
return accessToken, newRefreshToken, nil
return accessToken, renewed.token, nil
}
func (c *Commands) RevokeRefreshToken(ctx context.Context, userID, orgID, tokenID string) (*domain.ObjectDetails, error) {