feat(identity): enforce shared session and browser request security
This commit is contained in:
1 parent
7df521bd89
commit
86f562f5b6
23 files changed
+430
-121
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user