oauth/oidc

This commit is contained in:
bluepython508 committed 2023-11-07 22:40:35 +00:00
1 parent a0fc306df1
commit 54db8727b0
20 files changed
+670 -3

No files matched your search

@@ -0,0 +1,11 @@
defmodule SsoBsnWeb.Openid.ConfigurationController do
use SsoBsnWeb, :controller
def config(conn, _params) do
conn |> json(%{
issuer: url(~p"/"),
authorization_endpoint: url(~p"/openid/authorize"),
token_endpoint: url(~p"/oauth/token")
})
end
end