Skip to content

Commit 5b64958

Browse files
committed
Don't bother with id_token in auth flow
Seems to cause weird problems in Auth0s inscrutable SDK, and we don't need it, so just drop it entirely.
1 parent 862dd91 commit 5b64958

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/src/auth0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const loginWithPasswordlessCode = withRetries('loginPWL', async (email: s
8585
(await authClient.passwordless.loginWithEmail({
8686
email: email,
8787
code: code,
88-
scope: 'openid email offline_access app_metadata'
88+
scope: 'email offline_access app_metadata'
8989
})).data,
9090
{
9191
shouldThrow: (e) => {

api/test/auth.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AUTH0_PORT, auth0Server, startServer } from "./test-util";
77
const TOKEN_RESPONSE = {
88
"access_token": "at",
99
"refresh_token": "rt",
10-
"scope": "openid email offline_access",
10+
"scope": "email offline_access",
1111
"expires_in": 86400,
1212
"token_type": "Bearer"
1313
};

0 commit comments

Comments
 (0)