Passkey login was shown after it was disabled #14227

Closed
opened 2025-11-02 11:06:59 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @VinothKumar-Ganesan on GitHub (Mar 7, 2025).

Description

i used the following properties and disabled passkey but it still showing

  - GITEA__service__DISABLE_REGISTRATION=true
  - GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION=false
  - GITEA__service__DISABLE_USER_EMAIL_CHANGE=true
  - GITEA__service__ENABLE_NOTIFY_MAIL=false
  - GITEA__service__ENABLE_PASSWORD_SIGNIN_FORM=false
  - GITEA__service__ENABLE_BASIC_AUTHENTICATION=false
  - GITEA__service__ENABLE_PASSKEY_AUTHENTICATION=false
  - GITEA__openid__ENABLE_OPENID_SIGNIN=false
  - GITEA__openid__ENABLE_OPENID_SIGNUP=false
  - GITEA__oauth2__ENABLED=true
  - GITEA__oauth2__REGISTER_USER_ON_FIRST_LOGIN=false
  - GITEA__oauth2__ACCOUNT_LINKING=auto

Gitea Version

1.23.5

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?

running i docker

Database

None

Originally created by @VinothKumar-Ganesan on GitHub (Mar 7, 2025). ### Description i used the following properties and disabled passkey but it still showing - GITEA__service__DISABLE_REGISTRATION=true - GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION=false - GITEA__service__DISABLE_USER_EMAIL_CHANGE=true - GITEA__service__ENABLE_NOTIFY_MAIL=false - GITEA__service__ENABLE_PASSWORD_SIGNIN_FORM=false - GITEA__service__ENABLE_BASIC_AUTHENTICATION=false - GITEA__service__ENABLE_PASSKEY_AUTHENTICATION=false - GITEA__openid__ENABLE_OPENID_SIGNIN=false - GITEA__openid__ENABLE_OPENID_SIGNUP=false - GITEA__oauth2__ENABLED=true - GITEA__oauth2__REGISTER_USER_ON_FIRST_LOGIN=false - GITEA__oauth2__ACCOUNT_LINKING=auto ### Gitea Version 1.23.5 ### 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? running i docker ### Database None
GiteaMirror added the type/enhancement label 2025-11-02 11:06:59 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Mar 7, 2025):

IIRC there is no config option "ENABLE_PASSKEY_AUTHENTICATION" at the moment.

Just curious, why you need to disable it?

@wxiaoguang commented on GitHub (Mar 7, 2025): IIRC there is no config option "ENABLE_PASSKEY_AUTHENTICATION" at the moment. Just curious, why you need to disable it?
Author
Owner

@VinothKumar-Ganesan commented on GitHub (Mar 7, 2025):

Image

@wxiaoguang , i need to show only the azure login and restrict othes login ways

and the following pr shows disabling it https://github.com/go-gitea/gitea/pull/33348/files

@VinothKumar-Ganesan commented on GitHub (Mar 7, 2025): ![Image](https://github.com/user-attachments/assets/4f7f0cbb-33dd-48a9-94d6-229071580a5b) @wxiaoguang , i need to show only the azure login and restrict othes login ways and the following pr shows disabling it https://github.com/go-gitea/gitea/pull/33348/files
Author
Owner

@wxiaoguang commented on GitHub (Mar 7, 2025):

Hmm it is, I forgot that PR.

Actually that PR is for 1.24 only, not in 1.23. So maybe you could try the "main-nightly" version (which is the 1.24 development branch) if you need it.

@wxiaoguang commented on GitHub (Mar 7, 2025): Hmm it is, I forgot that PR. Actually that PR is for 1.24 only, not in 1.23. So maybe you could try the "main-nightly" version (which is the 1.24 development branch) if you need it.
Author
Owner

@wxiaoguang commented on GitHub (Mar 7, 2025):

And maybe we could try to backport it to 1.23

-> Support disable passkey auth #33819

@wxiaoguang commented on GitHub (Mar 7, 2025): And maybe we could try to backport it to 1.23 -> Support disable passkey auth #33819
Author
Owner

@wxiaoguang commented on GitHub (Mar 8, 2025):

Now 1.23-nightly https://hub.docker.com/r/gitea/gitea/tags?name=1.23-nightly is also ready, which is a stable release and will be 1.23.6, you could use it.

@wxiaoguang commented on GitHub (Mar 8, 2025): Now 1.23-nightly https://hub.docker.com/r/gitea/gitea/tags?name=1.23-nightly is also ready, which is a stable release and will be 1.23.6, you could use it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14227