File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
libs/saml2-web-sso/src/SAML2/WebSSO/API Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,13 @@ localLogout = do
201
201
cky <- toggleCookie " /" Nothing
202
202
pure . addHeader cky . addHeader uri $ " Logged out locally, redirecting to " <> renderURI uri
203
203
204
- -- | as in [3/4.4]
205
- singleLogout :: (HasCallStack , SP m ) => m (WithCookieAndLocation ST )
206
- singleLogout = error " not implemented."
204
+ -- | acts weird (handles /sso/meta path)
205
+ singleLogout :: (HasCallStack , SP m , Applicative m ) => m (WithCookieAndLocation ST )
206
+ singleLogout =
207
+ -- if we just say "error" instead of "pure . error" here, the routing algorithm in servant
208
+ -- will construct the handler and crash, even if the route for the handler does not match
209
+ -- the path in the request.
210
+ pure $ error " not implemented: singleLogout"
207
211
208
212
data LoginStatus
209
213
= NotLoggedIn [(ST {- issuer -} , ST {- authreq path -} )]
You can’t perform that action at this time.
0 commit comments