Merge pull request #7321 from ryan-hanchett/fix/update-oauth-refresh-token
Fix oauth refresh logic to set new refresh token
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend': patch
|
||||
---
|
||||
|
||||
Update OAuth refresh handler to pass updated refresh token to ensure cookie is updated with new value.
|
||||
@@ -166,6 +166,7 @@ export class OAuth2AuthProvider implements OAuthHandlers {
|
||||
accessToken: result.accessToken,
|
||||
scope: result.params.scope,
|
||||
expiresInSeconds: result.params.expires_in,
|
||||
refreshToken: result.refreshToken,
|
||||
},
|
||||
profile,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user