Skip to content

Commit 78473c4

Browse files
committed
chore: removed unneeded configuration
1 parent 36f5897 commit 78473c4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/lib/auth.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ export const auth = betterAuth({
1919
baseURL: BASE_URL,
2020
trustedOrigins,
2121
session: {
22-
expiresIn: 60 * 60 * 24 * 7,
2322
cookieCache: {
2423
enabled: true,
25-
maxAge: 5 * 60,
2624
},
2725
},
2826
plugins: [
@@ -31,9 +29,6 @@ export const auth = betterAuth({
3129
{
3230
providerId: OIDC_PROVIDER_ID,
3331
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`,
3732
redirectURI: `${BASE_URL}/api/auth/oauth2/callback/${OIDC_PROVIDER_ID}`,
3833
clientId: process.env.OIDC_CLIENT_ID || "",
3934
clientSecret: process.env.OIDC_CLIENT_SECRET || "",

0 commit comments

Comments
 (0)