File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import AdminForthAdapterGithubOauth2 from "../../adapters/adminforth-github-oau
1818import AdminForthAdapterFacebookOauth2 from "../../adapters/adminforth-facebook-oauth-adapter" ;
1919import AdminForthAdapterKeycloakOauth2 from "../../adapters/adminforth-keycloak-oauth-adapter" ;
2020import AdminForthAdapterMicrosoftOauth2 from "../../adapters/adminforth-microsoft-oauth-adapter" ;
21+ import AdminForthAdapterTwitchOauth2 from "../../adapters/adminforth-twitch-oauth-adapter" ;
2122import { randomUUID } from "crypto" ;
2223
2324declare global {
@@ -38,6 +39,8 @@ declare global {
3839 KEYCLOAK_REALM : string ;
3940 MICROSOFT_CLIENT_ID : string ;
4041 MICROSOFT_CLIENT_SECRET : string ;
42+ TWITCH_CLIENT_ID : string ;
43+ TWITCH_CLIENT_SECRET : string ;
4144
4245 }
4346 }
@@ -133,6 +136,10 @@ export default {
133136 clientSecret : process . env . MICROSOFT_CLIENT_SECRET ,
134137 useOpenID : true ,
135138 } ) ,
139+ new AdminForthAdapterTwitchOauth2 ( {
140+ clientID : process . env . TWITCH_CLIENT_ID ,
141+ clientSecret : process . env . TWITCH_CLIENT_SECRET ,
142+ } ) ,
136143 // new AdminForthAdapterKeycloakOauth2({
137144 // name: "Keycloak",
138145 // clientID: process.env.KEYCLOAK_CLIENT_ID,
You can’t perform that action at this time.
0 commit comments