fix: remove auth middleware for authn login (#8407)

pull/8447/head
Mmx 2025-04-27 19:58:09 +08:00 committed by GitHub
parent bf0705ec17
commit e532ab31ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -77,10 +77,10 @@ func Init(e *gin.Engine) {
api.GET("/auth/sso_get_token", handles.SSOLoginCallback) api.GET("/auth/sso_get_token", handles.SSOLoginCallback)
// webauthn // webauthn
api.GET("/authn/webauthn_begin_login", handles.BeginAuthnLogin)
api.POST("/authn/webauthn_finish_login", handles.FinishAuthnLogin)
webauthn.GET("/webauthn_begin_registration", handles.BeginAuthnRegistration) webauthn.GET("/webauthn_begin_registration", handles.BeginAuthnRegistration)
webauthn.POST("/webauthn_finish_registration", handles.FinishAuthnRegistration) webauthn.POST("/webauthn_finish_registration", handles.FinishAuthnRegistration)
webauthn.GET("/webauthn_begin_login", handles.BeginAuthnLogin)
webauthn.POST("/webauthn_finish_login", handles.FinishAuthnLogin)
webauthn.POST("/delete_authn", handles.DeleteAuthnLogin) webauthn.POST("/delete_authn", handles.DeleteAuthnLogin)
webauthn.GET("/getcredentials", handles.GetAuthnCredentials) webauthn.GET("/getcredentials", handles.GetAuthnCredentials)