Merge pull request #6646 from backstage/blam/update-changeset

Add `disableRefresh` to `auth-backend` config and update changeset
This commit is contained in:
Ben Lambert
2021-07-29 10:57:43 +02:00
committed by GitHub
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
---
'@backstage/plugin-auth-backend': minor
'@backstage/plugin-auth-backend': patch
---
Added the disableRefresh option to the OAuth2 config
Added the `disableRefresh` option to the `OAuth2` config
+1
View File
@@ -65,6 +65,7 @@ export interface Config {
authorizationUrl: string;
tokenUrl: string;
scope?: string;
disableRefresh?: boolean;
};
};
oidc?: {
@@ -190,7 +190,7 @@ export const createOAuth2Provider = (
});
return OAuthAdapter.fromConfig(globalConfig, provider, {
disableRefresh: disableRefresh,
disableRefresh,
providerId,
tokenIssuer,
});