From 4da8bf495705a5c34a38c6e951f2bd5889478b11 Mon Sep 17 00:00:00 2001 From: Andrew Urban Date: Wed, 12 Sep 2018 14:59:31 +0300 Subject: [PATCH] Fixed an end session callback --- Source/OIDAuthorizationService.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OIDAuthorizationService.m b/Source/OIDAuthorizationService.m index cca2b2bda..857952878 100644 --- a/Source/OIDAuthorizationService.m +++ b/Source/OIDAuthorizationService.m @@ -251,7 +251,7 @@ - (BOOL)shouldHandleURL:(NSURL *)URL { // The logic of when to handle the URL is the same as for authorization requests: should match // down to the path component. return [[OIDAuthorizationFlowSessionImplementation class] URL:URL - matchesRedirectonURL:_request.endSessionRequestURL]; + matchesRedirectonURL:_request.postLogoutRedirectURL]; } - (BOOL)resumeExternalUserAgentFlowWithURL:(NSURL *)URL {