mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
22 lines
506 B
TypeScript
22 lines
506 B
TypeScript
const clientId = process.env.WORKOS_CLIENT_ID;
|
|
|
|
const authConfig = {
|
|
providers: [
|
|
{
|
|
type: "customJwt",
|
|
issuer: `https://api.workos.com/`,
|
|
algorithm: "RS256",
|
|
jwks: `https://api.workos.com/sso/jwks/${clientId}`,
|
|
applicationID: clientId,
|
|
},
|
|
{
|
|
type: "customJwt",
|
|
issuer: `https://api.workos.com/user_management/${clientId}`,
|
|
algorithm: "RS256",
|
|
jwks: `https://api.workos.com/sso/jwks/${clientId}`,
|
|
},
|
|
],
|
|
};
|
|
|
|
export default authConfig;
|