Skip to content

Commit 20122d8

Browse files
committed
update auth.config.ts to no longer need domain, issuer, or applicationID
1 parent fd011e3 commit 20122d8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

convex/auth.config.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ const clientId = process.env.WORKOS_CLIENT_ID;
33
const authConfig = {
44
providers: [
55
{
6-
// WorkOS JWT configuration
7-
// Make sure to configure WORKOS_CLIENT_ID in your
8-
// Convex dashboard environment variables
9-
domain: `https://api.workos.com/user_management/${clientId}`,
10-
applicationID: clientId,
6+
type: 'customJwt',
7+
issuer: 'https://api.workos.com/',
8+
algorithm: 'RS256',
9+
jwks: `https://api.workos.com/sso/jwks/${clientId}`,
1110
},
1211
],
1312
};

0 commit comments

Comments
 (0)