We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d0e5e commit 9db8766Copy full SHA for 9db8766
src/auth/AuthProvider/index.ts
@@ -72,9 +72,8 @@ class AuthProvider implements AuthenticationProvider, Disposable {
72
let refreshToken;
73
74
if (AUTH0_CLIENT_SECRET) {
75
- // Note: this "code" response type is for allowing token refresh functionality. getting a
76
- // refresh token, we need to use this "code" flow. Use the Auth0 app's
77
- // secret, and ensure "Allow Offline Access" is enabled.
+ // Note: this "code" response type is for allowing token refresh functionality.
+ // Use the Auth0 app's secret, and ensure "Allow Offline Access" is enabled.
78
const code = await this.startLogin("code");
79
if (!code) throw new Error(`Auth0 login failure (code flow)`);
80
const auth0Response = await this.fetchAuth0Tokens(code);
0 commit comments