You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement the plugin with Microsoft Entra Auth provider configuration but after set-up my project up following all steps on the documentation, I'm getting a estrange behavior, after pressing the login button and get redirected again as response of the Microsoft Entra Auth service, I'm not able to enter to the dashboard. The applications redirect me to the path I specify on the sucessRedirectPath property, so the SSO process is be succeeded but I can not enter to de admin panel dash board, I get redirect back to the login page instead. Those are my configurations:
payload.config.ts
authPlugin({name: 'admin',// must be uniqueuseAdmin: true,// not mandatory, and only use this for adminallowOAuthAutoSignUp: true,usersCollectionSlug: 'users',accountsCollectionSlug: 'accounts',successRedirectPath: '/',errorRedirectPath: '/not-found',enable:true,providers: [MicrosoftEntraAuthProvider({client_id: process.env.PROVIDER_CLIENT_IDasstring,client_secret: process.env.PROVIDER_CLIENT_SECRETasstring,tenant_id: process.env.MSFT_ENTRA_TENANT_IDasstring,skip_email_verficaction: true})]})
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to implement the plugin with Microsoft Entra Auth provider configuration but after set-up my project up following all steps on the documentation, I'm getting a estrange behavior, after pressing the login button and get redirected again as response of the Microsoft Entra Auth service, I'm not able to enter to the dashboard. The applications redirect me to the path I specify on the
sucessRedirectPathproperty, so the SSO process is be succeeded but I can not enter to de admin panel dash board, I get redirect back to the login page instead. Those are my configurations:payload.config.ts
accounts.ts
users.ts
Beta Was this translation helpful? Give feedback.
All reactions