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 {