Skip to content

Commit

Permalink
Add /sso/callback auth endpoint back (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples authored Mar 18, 2022
1 parent dc3e0a6 commit ae4d031
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/routes/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ func SetAuthRoutes(e *echo.Echo, cfgProvider *config.ConfigProviderWithRefresh)
api := e.Group("/auth")

api.GET("/sso", authenticate(&config, providerCfg.Options))
api.GET("/sso_callback", authenticateCb(ctx, &config, provider))
api.GET("/sso/callback", authenticateCb(ctx, &config, provider))
api.GET("/sso_callback", authenticateCb(ctx, &config, provider)) // compatibility with UI v1
api.GET("/logout", logout)
}

Expand Down

0 comments on commit ae4d031

Please # to comment.