lrsql icon indicating copy to clipboard operation
lrsql copied to clipboard

401 Error After Successful Login - Web Admin

Open diazjhozua opened this issue 1 year ago • 2 comments

Hi,

For some reason, whenever I log in to the website, the login request is successful, but subsequent requests return a 401 error, preventing me from accessing the admin page.

Image

Image

The LRSQL instance is deployed on Azure App Service. Is there a possibility that I missed something in the configuration?

Thank you.

diazjhozua avatar Jan 20 '25 03:01 diazjhozua

In some instances, after logging some request returns a 200 status, but subsequent requests return a 401 status.

Image

diazjhozua avatar Jan 20 '25 07:01 diazjhozua

Hi @diazjhozua,

This feels a lot like a CORS issue. Let me know the following:

  • Are you using a custom domain / IP address?
  • What is your CORS configuration in the app config vars?

Thanks, Cliff

cliffcaseyyet avatar Jan 20 '25 17:01 cliffcaseyyet