Skip to content

Commit 9db8766

Browse files
committed
Fix comment
1 parent e9d0e5e commit 9db8766

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/auth/AuthProvider/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ class AuthProvider implements AuthenticationProvider, Disposable {
7272
let refreshToken;
7373

7474
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.
75+
// Note: this "code" response type is for allowing token refresh functionality.
76+
// Use the Auth0 app's secret, and ensure "Allow Offline Access" is enabled.
7877
const code = await this.startLogin("code");
7978
if (!code) throw new Error(`Auth0 login failure (code flow)`);
8079
const auth0Response = await this.fetchAuth0Tokens(code);

0 commit comments

Comments
 (0)