mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
feat: implement passkey-based authentication
This commit is contained in:
@@ -7,7 +7,6 @@ package vault
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
|
||||
"github.com/onsonr/sonr/internal/vault/handlers"
|
||||
session "github.com/onsonr/sonr/internal/vault/session"
|
||||
"github.com/onsonr/sonr/internal/vault/types"
|
||||
)
|
||||
@@ -15,14 +14,4 @@ import (
|
||||
// RegisterRoutes registers the Decentralized Web Node API routes.
|
||||
func RegisterRoutes(e *echo.Echo, config *types.Config) {
|
||||
e.Use(session.Middleware(config))
|
||||
|
||||
e.GET("/register/:subject/start", handlers.RegisterSubjectStart)
|
||||
e.POST("/register/:subject/finish", handlers.RegisterSubjectFinish)
|
||||
|
||||
e.GET("/login/:subject/start", handlers.LoginSubjectStart)
|
||||
e.POST("/login/:subject/finish", handlers.LoginSubjectFinish)
|
||||
|
||||
e.GET("/authz/jwks", handlers.GetJWKS)
|
||||
e.GET("/authz/token", handlers.GetToken)
|
||||
e.POST("/:origin/grant/:subject", handlers.GrantAuthorization)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user