-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Account linking after adding OpenID Connect does not work #33328
Comments
Have you tried 1.23-nightly? It is a stable branch and contains many bug fixes. If it has been fixed, I think this issue could be closed? |
Sorry, I didn't have the time yet. I'll let you know as soon as possible! |
Hi @wxiaoguang, I ran into the same issue with Authentik, and tried the 1.23-nightly, and it is fixed. Can you confirm it is correct that it says I need to link my account? Does this happen under an authorized session by ? |
Yes, I think it is right. Actually it is the correct behavior in 1.22 and old releases, 1.23.0 has a regression that the login form can't display correctly and it has been fixed in 1.23-nightly (and will be 1.23.2 soon) |
I can confirm that both the login form and the account linking work fine in version 1.23-nightly. Thank you for the fast help! |
Description
I am trying to add authelia as an OpenID provider by following the instructions here. It seems like everything is working fine except the account linking part. I already have an administrator account setup locally and want to access the same account via authelia. The name and email are identical in Gitea and authelia.
On the login page, I click on "Sign in with authelia":
I am then redirected to my authelia instance where I can log into my account. After granting access, I am redirected to Gitea where I am greeted with the following screen (I cannot use the option "Register New Account" as I already have an account setup with the same name and email):
I would expect a login form to show here instead of the blank area under the heading. Using the passkey option, I can login but it seems like the account is still not connected. When logging out and in again (with authelia) I am again redirected to this linking screen although I would expect the process to only be needed once.
Here is my config (note that I of cource replaced
my-domain.com
and the client secret with the correct values in my actual config):app.ini
From the log, I can see the following related entries:
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
compose.yml:
Database
SQLite
The text was updated successfully, but these errors were encountered: