mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-01 22:11:39 +00:00
refactor: use betterauth instead of workos
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
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}`,
|
||||
applicationID: clientId,
|
||||
domain: process.env.CONVEX_SITE_URL,
|
||||
applicationID: "convex",
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user