diff --git a/app/lib/auth.ts b/app/lib/auth.ts index ef83f63..12ed2d3 100644 --- a/app/lib/auth.ts +++ b/app/lib/auth.ts @@ -38,23 +38,23 @@ export const authConfig: NextAuthConfig = { clientId: process.env.GOOGLE_ID, clientSecret: process.env.GOOGLE_SECRET, }), - // config based on https://github.com/nextauthjs/next-auth/issues/8831 - LinkedinProvider({ - clientId: process.env.LINKEDIN_ID, - clientSecret: process.env.LINKEDIN_SECRET, - authorization: { params: { scope: 'email openid' } }, - issuer: 'https://www.linkedin.com', - jwks_endpoint: "https://www.linkedin.com/oauth/openid/jwks", - async profile(profile) { - return { - id: profile.sub, - name: profile.name, - firstname: profile.given_name, - lastname: profile.family_name, - email: profile.email - } - }, - }) + // // config based on https://github.com/nextauthjs/next-auth/issues/8831 + // LinkedinProvider({ + // clientId: process.env.LINKEDIN_ID, + // clientSecret: process.env.LINKEDIN_SECRET, + // authorization: { params: { scope: 'email openid' } }, + // issuer: 'https://www.linkedin.com', + // jwks_endpoint: "https://www.linkedin.com/oauth/openid/jwks", + // async profile(profile) { + // return { + // id: profile.sub, + // name: profile.name, + // firstname: profile.given_name, + // lastname: profile.family_name, + // email: profile.email + // } + // }, + // }) ], secret: process.env.AUTH_SECRET, trustHost: true, // needs to be set to false for the NextJS to work behing Traefik diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index c8c6cdd..7013cca 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -9,7 +9,7 @@ networks: services: web-app: - image: utility-bills-tracker:1.27.1 + image: utility-bills-tracker:1.27.2 networks: - traefik-network - mongo-network