Skip to content

Commit 4269aa0

Browse files
committed
Remove hard-coded refresh token error
1 parent 96d3bb8 commit 4269aa0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/connection/auth.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,7 @@ class AccessTokenAuthenticator implements OidcAuthFlow {
289289
});
290290
};
291291

292-
validateOpenidConfig = () => {
293-
if (
294-
this.openidConfig.provider.grant_types_supported === undefined ||
295-
!this.openidConfig.provider.grant_types_supported.includes('refresh_token')
296-
) {
297-
throw new Error('grant_type refresh_token not supported');
298-
}
299-
};
292+
validateOpenidConfig = () => {};
300293

301294
requestAccessToken = () => {
302295
const url = this.openidConfig.provider.token_endpoint;

0 commit comments

Comments
 (0)