Skip to content
Snippets Groups Projects
Commit a4e356e5 authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

redirect openid-configuration

parent bc9e1250
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@ func addRoutes(s fiber.Router) {
s.Get("/", handleTest)
s.Get("/test", handleTest)
s.Get("/.well-known/mytoken-configuration", configuration.HandleConfiguration)
s.Get("/.well-known/openid-configuration", func(ctx *fiber.Ctx) error {
return ctx.Redirect("/.well-known/mytoken-configuration")
})
s.Get("/redirect", redirect.HandleOIDCRedirect)
addAPIRoutes(s)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment