self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Google SSO Authentication Error

Open nipunai7 opened this issue 2 years ago • 7 comments

Self-Hosted Version

22.8.0

CPU Architecture

x86_64

Docker Version

20.10.17

Docker Compose Version

2.6.0

Steps to Reproduce

  1. Added a Google client ID and Security ID.
  2. Then when I try to configure it on project settings it goes to the google account selection screen.
  3. Then after clicking the google account it comes back to sentry with the following error:

Authentication error: The domain for your Google account (None) is not allowed to authenticate with this provider.

How to fix this domain not being passed?

Expected Result

It should successfully come back to sentry with the connected Gmail account

Actual Result

https://drive.google.com/file/d/1kGLFi_3kkyXn4czGhTmSBnvmJm-XKx0x/view?usp=sharing

nipunai7 avatar Aug 29 '22 07:08 nipunai7

i have similar issue with Github Enterprise SSO, on 22.9.0

rajivmucheli avatar Aug 29 '22 10:08 rajivmucheli

It appears there is something wrong with the network based on the logs you sent. e.g. Sentry cannot connect to "sentrybinary.ml".

Did you get any errors in the installer log?

@rajivmucheli my guess is your issue might be different, could you please open your own issue?

emmatyping avatar Aug 30 '22 17:08 emmatyping

Hi Ethan,

I raised issue : https://github.com/getsentry/self-hosted/issues/1666

Regards, Rajiv

On Tue, 30 Aug 2022 at 11:06 PM, Ethan Smith @.***> wrote:

It appears there is something wrong with the network based on the logs you sent. e.g. Sentry cannot connect to "sentrybinary.ml".

Did you get any errors in the installer log?

@rajivmucheli https://github.com/rajivmucheli my guess is your issue might be different, could you please open your own issue?

— Reply to this email directly, view it on GitHub https://github.com/getsentry/self-hosted/issues/1669#issuecomment-1231965869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7UUKENZK6YI435MIYPNBTV3ZBDDANCNFSM574XE2VQ . You are receiving this because you were mentioned.Message ID: @.***>

rajivmucheli avatar Aug 30 '22 18:08 rajivmucheli

It appears there is something wrong with the network based on the logs you sent. e.g. Sentry cannot connect to "sentrybinary.ml".

Did you get any errors in the installer log?

@rajivmucheli my guess is your issue might be different, could you please open your own issue?

@ethanhs Site is working on sentrybinary.ml . But i had to use "valian/docker-nginx-auto-ssl" in order to get sentry work with SSL. I also get that sentry is not sending my domain in its request to google. I tried the normal way shown in sentry documents to enable SSL but did not work. So went with "valian/docker-nginx-auto-ssl".

nipunai7 avatar Aug 31 '22 12:08 nipunai7

Sentry Files.zip

@ethanhs please have a look at them. I can't figure out what went wrong.

nipunai7 avatar Aug 31 '22 19:08 nipunai7

Just to make sure, did you restart your services after adding the google client id and secret?

hubertdeng123 avatar Sep 07 '22 17:09 hubertdeng123

Just to make sure, did you restart your services after adding the google client id and secret?

Yes I did

nipunai7 avatar Sep 15 '22 15:09 nipunai7

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Oct 07 '22 00:10 github-actions[bot]

I think we should take another look at this, so re-opening.

emmatyping avatar Oct 15 '22 00:10 emmatyping

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Nov 06 '22 00:11 github-actions[bot]