-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub App and SSO - works but no user created #3497
Comments
I disabled the GH auth and created a user with the expected email address and re-enabled. The same issue applies, and the login takes me to the initial admin user. I then re-disabled, and put 2FA on my user. Then re-enabled GH auth. Now, I can't login :) It prompts me for 2FA even though it's asking to login with GitHub. Once I put my 2FA code, it takes me back to "Login with GitHub". --> Enabling GH auth does not disable 2FA, contrary to what the web page says. Now on to see how i can login again. |
Hello @cathteng, can you take a look at this? |
I am not sure at this point if what I am seeing in another try is correct, but here it is:
It now puts me under the right user. However, my "name" (i.e. the label) has changed and the organization avatar picture is gone too. Reverting back (disabling GH auth and using local user) does not recover the "old name" either nor the logo. (The logo may be a kubernetes thing). I also noticed that deleting a user in Sentry does not really delete it. So re-trying with the same email address may not reflect accurately any tests being done. |
Self-Hosted Version
24.12.1
CPU Architecture
x86_64
Docker Version
kubernetes-sentry
Docker Compose Version
kubernetes-sentry
Machine Specification
Steps to Reproduce
Hi,
I have setup the GitHub App as per the documentation, and while I can authenticate through GitHub, it does not create any user and falls back to the initial admin user created (which is the only one I currently have). I do have the settings "Allow Registration" to "Enabled".
I have not found any other clues as what else to configure. There is no error logs either I can find.
Note: My GitHub user has 4 different email addresses, and the 1 email linked to the GitHub organization is not the primary email.
Expected Result
I am guessing I should see a new user being created per the Sentry setting, with the default role configured.
I am happy to provide any information I can. I am not sure where to look anymore.
Actual Result
This is the logs from the web when authenticating through GitHub:
Event ID
No response
The text was updated successfully, but these errors were encountered: