mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-05-11 01:17:34 +02:00
🔧 Update usage of env variables
This commit is contained in:
parent
efefe711fc
commit
f1ab916642
@ -20,8 +20,8 @@ export const appAuth = new SvelteKitAuth({
|
||||
},
|
||||
}),
|
||||
new TwitchOAuth2Provider({
|
||||
clientId: import.meta.env.VITE_TWITCH_OAUTH_CLIENT_ID,
|
||||
clientSecret: import.meta.env.VITE_TWITCH_OAUTH_CLIENT_SECRET,
|
||||
clientId: process.env.TWITCH_OAUTH_CLIENT_ID,
|
||||
clientSecret: process.env.TWITCH_OAUTH_CLIENT_SECRET,
|
||||
profile(profile) {
|
||||
return { ...profile, provider: "twitch" };
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user