Skip to content

Commit

Permalink
NEXT_PUBLIC prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
bruugey committed Jul 25, 2024
1 parent 59dfd02 commit a87c10d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/auth/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import Okta from '@auth/core/providers/okta';
export const { handlers, signIn, signOut, auth } = NextAuth({
providers: [
Okta({
clientId: process.env.secrets.OKTA_CLIENT_ID,
clientSecret: process.env.secrets.OKTA_CLIENT_SECRET,
issuer: process.env.secrets.OKTA_ISSUER,
clientId: process.env.NEXT_PUBLIC_OKTA_CLIENT_ID,
clientSecret: process.env.NEXT_PUBLIC_OKTA_CLIENT_SECRET,
issuer: process.env.NEXT_PUBLIC_OKTA_ISSUER,
}),
],
});

0 comments on commit a87c10d

Please sign in to comment.