features/working-on-scopes #13

Merged
jtom38 merged 28 commits from features/working-on-scopes into main 2024-04-04 15:31:54 -07:00
Showing only changes of commit 8f0e8e4d85 - Show all commits

View File

@ -41,9 +41,9 @@ func (h *Handler) Register(v1 *echo.Group) {
auth.POST("/login", h.AuthLogin) auth.POST("/login", h.AuthLogin)
auth.POST("/register", h.AuthRegister) auth.POST("/register", h.AuthRegister)
auth.Use(echojwt.WithConfig(jwtConfig)) auth.Use(echojwt.WithConfig(jwtConfig))
auth.POST("/scopes/add", h.AddScope) auth.POST("/scopes/add", h.AddScopes)
//auth.POST("/refresh", h.RefreshJwtToken) auth.POST("/scopes/remove", h.RemoveScopes)
demo := v1.Group("/demo") demo := v1.Group("/demo")
demo.GET("/hello", h.DemoHello) demo.GET("/hello", h.DemoHello)
demo.GET("/hello/:who", h.HelloWho) demo.GET("/hello/:who", h.HelloWho)