The user smitty is unable to log in after enabling the Auth0 plugin due to an incorrect return URL, and the login process still attempts SSO redirection. Despite removing the plugin setup from app.yml and running ./launcher rebuild app, the issue persists. trident suggests checking the enable_sso setting and using the Rails console to modify Auth0 settings directly, such as SiteSetting.auth0_callback_url. smitty tried this and now faces an authorization error when logging in. trident recommends creating a new account or resetting all Auth0 settings to empty strings to resolve the issue, but smitty remains stuck with the error and unable to access admin mode.
I have enabled the Auth0 plugin, however I entered in the return url incorrectly or something now I cannot login to the site anymore. I am using a docker setup and so far I have tried the following:
commented out the git clone from the hooks section in app.yml
removed the following lines under the run section in the app.yml:
Yes. That seems to disable the auth0 window from coming up, however the sso redirect still happens. Does anyone know where the auth0 settings are stored? Maybe I can just edit them manually to fix the problem.
Did you enable the site setting enable_sso? I don’t think you would have had to to enable this plugin, but if you did here is the process for disabling it.
Can you register a new account? Then you could promote it to admin from the console and investigate further. If you can not, try editing all the settings there and setting them to ''.
I can’t get into admin mode because I either cannot get Auth0 to work with the site or I cannot disable it for some reason. Right now I am stuck with the following error when logging in:
Sorry, there was an error authorizing your Auth0 account. Perhaps you did not approve authorization?