add initial auth0 module

This commit is contained in:
2025-12-18 08:37:22 -05:00
commit 528778753c
10 changed files with 610 additions and 0 deletions

11
auth/auth0/routes.go Normal file
View File

@@ -0,0 +1,11 @@
package auth0
import (
"github.com/go-chi/chi/v5"
)
func Register(r chi.Router, deps *deps) {
r.Get("/login", HandleLogin(deps))
r.Get("/callback", HandleCallback(deps))
r.Get("/logout", HandleLogout(deps))
}