Can pick up mfa request

This commit is contained in:
2024-06-26 18:18:04 +08:00
parent ebdb6f5688
commit 38ee30f455
10 changed files with 52 additions and 12 deletions

View File

@ -59,6 +59,8 @@ func MapAPIs(app *fiber.App) {
auth.Post("/mfa", doMultiFactorAuthenticate)
auth.Post("/token", getToken)
auth.Get("/tickets/:ticketId", getTicket)
auth.Get("/factors", getAvailableFactors)
auth.Post("/factors/:factorId", requestFactorToken)