Unable to log in to /admin configuration panel with Firefox
Opened this issue · 4 comments
Hi, I've set up an instance of the Hosted UI on Cloud Run. My hosted UI works OK for logging in to the website it sits in front of, but I'm unable to access the /admin configuration panel. Each time I try:
- I enter my Google credentials and authenticate successfully
- Sign In With Google prompts me to make sure I trust , I click Allow.
- Browser briefly appears to access the /admin site, but I get redirected back to Sign in with Google - Choose an Account.
Any ideas what might be wrong?
Before further assists you, are you able to provide your network trace? Can you also provide your browser info?
Couple of things to try in the meantime
- clear browser cache / use incognito mode
- make sure the account you used to access /admin endpoint has the proper IAM policy attached.
What precisely do you mean by network trace? A browser capture, such as a HAR file? I'm a bit hesitant to provide that as it will have my Google credentials and tokens.
Yes, I'm using private browsing windows.
make sure the account you used to access /admin endpoint has the proper IAM policy attached.
I'm assuming you mean storage admin? Yes, I assigned storage admin permissions to this account.
For browser, I was using Firefox 113.0.2 on Ubuntu. However, I just tried Chromium Version 113.0.5672.126 on Ubuntu and encountered different behavior. I got this error message:
One other data point I should mention: I'm using a custom domain.
OK, so if I allow 3rd party cookies in Incognito Mode, I'm able to access the /admin endpoint successfully in Chromium.
So, there appears to be some issue with Firefox.
Can you try redirect-best-practice, This should help fix the third-party storage access issues.