feat(identity): enforce shared session and browser request security

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 11:33:40 +03:00
1 parent 7df521bd89
commit 86f562f5b6
23 files changed
+430 -121

No files matched your search

+3 -2
View File
@@ -133,8 +133,9 @@ func newIdentityHandler(
// The HTTP server stops before this cleanup runs, so no request uses the
// pool while it closes.
return v1.NewIdentityHandler(registration,
v1.WithEmailConfirmation(confirmation, settings.AppPublicURL),
v1.WithSessionService(sessions, settings.AppPublicURL),
v1.WithEmailConfirmation(confirmation),
v1.WithSessionService(sessions),
v1.WithPublicOrigin(settings.AppPublicURL),
), pool.Close, nil
}