feat: sso compatibility mode (#5260)

This commit is contained in:
itsHenry
2023-09-22 16:45:51 +08:00
committed by GitHub
parent 106cf720c1
commit 30977cdc6d
4 changed files with 104 additions and 53 deletions

View File

@ -56,6 +56,8 @@ func Init(e *gin.Engine) {
// auth
api.GET("/auth/sso", handles.SSOLoginRedirect)
api.GET("/auth/sso_callback", handles.SSOLoginCallback)
api.GET("/auth/get_sso_id", handles.SSOLoginCallback)
api.GET("/auth/sso_get_token", handles.SSOLoginCallback)
//webauthn
webauthn.GET("/webauthn_begin_registration", handles.BeginAuthnRegistration)