There was an error while loading. Please reload this page.
1 parent fd011e3 commit 20122d8Copy full SHA for 20122d8
convex/auth.config.ts
@@ -3,11 +3,10 @@ const clientId = process.env.WORKOS_CLIENT_ID;
3
const authConfig = {
4
providers: [
5
{
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,
+ type: 'customJwt',
+ issuer: 'https://api.workos.com/',
+ algorithm: 'RS256',
+ jwks: `https://api.workos.com/sso/jwks/${clientId}`,
11
},
12
],
13
};
0 commit comments