Further openid work
This commit is contained in:
@@ -15,6 +15,7 @@ defmodule SsoBsnWeb.Router do
|
||||
|
||||
pipeline :api do
|
||||
plug :accepts, ["json"]
|
||||
plug Corsica, origins: "*"
|
||||
end
|
||||
|
||||
scope "/", SsoBsnWeb do
|
||||
@@ -111,8 +112,9 @@ defmodule SsoBsnWeb.Router do
|
||||
get "/authorize", AuthorizeController, :authorize
|
||||
end
|
||||
|
||||
scope "/.well-known", SsoBsnWeb.Openid do
|
||||
scope "/.well-known", SsoBsnWeb do
|
||||
pipe_through :api
|
||||
get "/openid-configuration", ConfigurationController, :config
|
||||
get "/openid-configuration", Openid.ConfigurationController, :config
|
||||
get "/webfinger", Webfinger, :webfinger
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user