Auth route /whoami for nginx subrequest auth, support changing the session cookie domain for that purpose

This commit is contained in:
bluepython508 committed 2023-11-08 09:36:30 +00:00
1 parent 54db8727b0
commit 93cd897b0e
6 files changed
+20 -4

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ defmodule SsoBsnWeb.Endpoint do
store: :cookie,
key: "_sso_bsn_key",
signing_salt: "2YoB6zeO",
same_site: "Lax"
same_site: "Lax",
domain: Application.compile_env(:sso_bsn, :session_domain)
]
socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]