File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
adminforth/documentation/docs/tutorial/07-Plugins Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ plugins: [
249249 clientSecret: process .env .KEYCLOAK_CLIENT_SECRET ,
250250 keycloakUrl: process .env .KEYCLOAK_URL ,
251251 realm: process .env .KEYCLOAK_REALM ,
252- useOpenID : true ,
252+ useOpenIdConnect : true ,
253253 }),
254254 ],
255255 }),
@@ -292,7 +292,7 @@ plugins: [
292292 new AdminForthAdapterMicrosoftOauth2 ({
293293 clientID: process .env .MICROSOFT_CLIENT_ID ,
294294 clientSecret: process .env .MICROSOFT_CLIENT_SECRET ,
295- useOpenID : true ,
295+ useOpenIdConnect : true ,
296296 }),
297297 ],
298298 }),
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ export default {
8282 // // return true;
8383 // return adminUser.dbUser.email !== "adminforth";
8484 // },
85- // usersFilterToAllowSkipSetup: (adminUser: AdminUser) => {
86- // return adminUser.dbUser.email === "adminforth";
87- // },
85+ usersFilterToAllowSkipSetup : ( adminUser : AdminUser ) => {
86+ return adminUser . dbUser . email === "adminforth" ;
87+ } ,
8888 passkeys : {
8989 credentialResourceID : "passkeys" ,
9090 credentialIdFieldName : "credential_id" ,
@@ -167,7 +167,7 @@ export default {
167167 new AdminForthAdapterMicrosoftOauth2 ( {
168168 clientID : process . env . MICROSOFT_CLIENT_ID ,
169169 clientSecret : process . env . MICROSOFT_CLIENT_SECRET ,
170- useOpenID : true ,
170+ useOpenIdConnect : true ,
171171 } ) ,
172172 // new AdminForthAdapterTwitchOauth2({
173173 // clientID: process.env.TWITCH_CLIENT_ID,
You can’t perform that action at this time.
0 commit comments