mirror of
https://github.com/UiO-Gaming/name-100-uio-gamers.git
synced 2026-11-05 13:56:53 +01:00
add nextauth_url env var
make sure the oauth callback knows where to go
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -1,6 +1,7 @@
|
||||
DISCORD_CLIENT_ID=
|
||||
DISCORD_CLIENT_SECRET=
|
||||
NEXTAUTH_SECRET=
|
||||
NEXTAUTH_URL=
|
||||
DISCORD_GUILD_ID=
|
||||
DISCORD_REQUIRED_ROLE_ID=
|
||||
DISCORD_BOT_TOKEN=
|
||||
@@ -39,4 +39,7 @@ export const authOptions: NextAuthOptions = {
|
||||
error: "/auth/error",
|
||||
},
|
||||
secret: process.env.NEXTAUTH_SECRET,
|
||||
...(process.env.NEXTAUTH_URL && {
|
||||
url: process.env.NEXTAUTH_URL,
|
||||
}),
|
||||
};
|
||||
Reference in new issue
Block a user