Does anyone have any tips/experience integrating with Auth0 #2694
Unanswered
AndyMillerRadical
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having integrated Auth0, I’m now experiencing a post-authentication infinite redirect.
On trying to access admin panel admin/users (default panel), it redirects to the /login route registered by the Auth0 SDK and the authentication flow via Auth0 proceeds correctly, ultimately calling the callback which redirects back to admin/users.
but admin/users simply then redirects to /login, which kicks off an infinite cycle.
In my UserRepository (added following Auth0 guide for Laravel), I am seeing that the authenticated user is being picked up in fromSession().
So I need to figure out why admin/users is redirecting to /login. Presumably its not recognising the authenticated used, so perhaps I need to figure out if it’s using a different user provider, although the fact its calling the auth0 registered route rather than its own default auth route led me to believe I’d already done that, but I’m not experienced with Orchid so user error is likely.
config/platform.php has 'auth' => false;
It's default was true and leaving that (or removing the key) results in admin/users redirecting to admin/login (Orchid's login screen) and continues to work as before.
Any tips or pointers welcome, but I’ve already read a ton of documentation.
Beta Was this translation helpful? Give feedback.
All reactions