We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f5897 commit 78473c4Copy full SHA for 78473c4
src/lib/auth.ts
@@ -19,10 +19,8 @@ export const auth = betterAuth({
19
baseURL: BASE_URL,
20
trustedOrigins,
21
session: {
22
- expiresIn: 60 * 60 * 24 * 7,
23
cookieCache: {
24
enabled: true,
25
- maxAge: 5 * 60,
26
},
27
28
plugins: [
@@ -31,9 +29,6 @@ export const auth = betterAuth({
31
29
{
32
30
providerId: OIDC_PROVIDER_ID,
33
discoveryUrl: `${OIDC_ISSUER}/.well-known/openid-configuration`,
34
- authorizationUrl: `${OIDC_ISSUER}/v1/authorize`,
35
- tokenUrl: `${OIDC_ISSUER}/v1/token`,
36
- userInfoUrl: `${OIDC_ISSUER}/v1/userinfo`,
37
redirectURI: `${BASE_URL}/api/auth/oauth2/callback/${OIDC_PROVIDER_ID}`,
38
clientId: process.env.OIDC_CLIENT_ID || "",
39
clientSecret: process.env.OIDC_CLIENT_SECRET || "",
0 commit comments