Skip to content
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

Cannot register with OpenID #31449

Closed
mcepl opened this issue Jun 21, 2024 · 12 comments
Closed

Cannot register with OpenID #31449

mcepl opened this issue Jun 21, 2024 · 12 comments
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@mcepl
Copy link

mcepl commented Jun 21, 2024

Description

When I register using OpenID everything works perfectly until I get the activation email, which leads me to the form which requires a password. At this moment I cannot insert any password (because my account is not properly activated), and I don't even get a button for resetting the password.

Screenshots

Screenshot 2024-06-21 at 15-57-17 Gitea Git with a cup of tea

Gitea Version

gitea.com today

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

openSUSE/Tumbleweed

Browser Version

Firefox 127

@mcepl mcepl added topic/ui Change the appearance of the Gitea UI type/bug labels Jun 21, 2024
@wxiaoguang
Copy link
Contributor

gitea.com, or your own instance, or both?

@mcepl
Copy link
Author

mcepl commented Jun 21, 2024 via email

@wxiaoguang
Copy link
Contributor

Hmm .... maybe it is a bug in Gitea or a configuration problem in gitea.com, maybe some other maintainers could help to figure out.

@mcepl
Copy link
Author

mcepl commented Jun 22, 2024

No, I suspect, that there are just so few users of OpenID that nobody thought about it.

@techknowlogick
Copy link
Member

Pinging @strk as I know you are a user of openid on Gitea.com

@mcepl
Copy link
Author

mcepl commented Jun 22, 2024

And of course, I would prefer if I would never have to create a password at all.

@mcepl
Copy link
Author

mcepl commented Jul 16, 2024

ping? @strk ?

@strk
Copy link
Member

strk commented Jul 23, 2024

Reading this now.

IIRC the OpenID signup screen creates a temporary password which is never given to the user just because as expressed by @mcepl OpenID users don't want to deal with passwords...

Why is try.gitea.io not giving the OpenID option ? We'd want to test this there to ensure it can be reproduced.

The "forgot password" link is found on the login page, did you try it ?
For gitea.com the page would be: https://gitea.com/user/forgot_password

What is the rationale for the account confirmation screen to require a password ? I'd think a confirmation button should be enough.

@mcepl
Copy link
Author

mcepl commented Jul 24, 2024

Hmm, I don’t know if anything changed, but the password recovery worked now, and I got reactivation prompt only after recovering of the passport. So, no, I still don’t think it is possible to have OpenID-only account, but at least I have now functioning gitea.com account.

@strk
Copy link
Member

strk commented Aug 29, 2024

See also #3521 for a more generic ticket about all the places that ask for a password conflicting with password-less logins.

@strk
Copy link
Member

strk commented Aug 29, 2024

See also #1036 for a generic discussion about how to deal with password-less accounts

@mcepl
Copy link
Author

mcepl commented Aug 29, 2024

I see, so let’s call this a duplicate of #3521.

@mcepl mcepl closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

No branches or pull requests

4 participants