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({
|
new TwitchOAuth2Provider({
|
||||||
clientId: import.meta.env.VITE_TWITCH_OAUTH_CLIENT_ID,
|
clientId: process.env.TWITCH_OAUTH_CLIENT_ID,
|
||||||
clientSecret: import.meta.env.VITE_TWITCH_OAUTH_CLIENT_SECRET,
|
clientSecret: process.env.TWITCH_OAUTH_CLIENT_SECRET,
|
||||||
profile(profile) {
|
profile(profile) {
|
||||||
return { ...profile, provider: "twitch" };
|
return { ...profile, provider: "twitch" };
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user