fix: OAuth flow errors (#189)

* fix: remove codeverifier

* chore: release v0.4.10-beta.6

* fix: add claims and proper scopes for twitch

* chore: release v0.4.10-beta.6

* chore: release v0.4.10-beta.7

* fix: generic oauth should use the code from qparam

* chore: release v0.4.10-beta.8

* fix: scope failing to merge

* chore: release v0.4.10-beta.9

* fix: twitch get profile

* chore: release v0.4.10-beta.10

* fix:lint
This commit is contained in:
Bereket Engida
2024-10-16 20:45:03 +03:00
committed by GitHub
parent ccf8f0f364
commit 1d77d0c338
9 changed files with 71 additions and 22 deletions

View File

@@ -107,5 +107,9 @@ export const auth = betterAuth({
clientId: process.env.MICROSOFT_CLIENT_ID || "",
clientSecret: process.env.MICROSOFT_CLIENT_SECRET || "",
},
twitch: {
clientId: process.env.TWITCH_CLIENT_ID || "",
clientSecret: process.env.TWITCH_CLIENT_SECRET || "",
},
},
});