feat(mfa): second-factor sign-in with TOTP and recovery codes

This commit is contained in:
mrhid6 committed 2026-09-16 08:39:48 +00:00
1 parent dfcfd1d3e2
commit 2d75832ceb
6 files changed
+254 -7

No files matched your search

+2
View File
@@ -43,6 +43,8 @@ func RegisterRoutes(r *gin.Engine) {
r.GET("/auth/bootstrap-status", auth.HandleBootstrapStatus)
r.POST("/auth/bootstrap", auth.HandleBootstrap)
r.POST("/auth/login", auth.HandleLocalLogin)
r.POST("/auth/mfa/totp", auth.HandleMFATOTP)
r.POST("/auth/mfa/recovery", auth.HandleMFARecovery)
r.POST("/auth/logout", auth.HandleLogout)
r.GET("/auth/me", auth.HandleMe)
r.GET("/auth/oidc/:providerId/start", auth.HandleSSOStart)