You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to get logout to work in an integration using the OIDC package for iOS.
When I trigger the logout method of the manager, the Azure AD identity provider window opens correctly and indicates that the session has indeed been terminated on the IdP side.
However, the only option I have to close the window is a "Cancel" button, which does not trigger the callback to return to the iOS application.
Furthermore, I get an exception with the following information:
end_session_failed, code: -3, root_cause_debug_description: Error Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1, etc.
Please note that:
I’m using the parameter OidcAppAuthExternalUserAgent.ephemeralAsWebAuthenticationSession.
I’ve defined the redirect URI (redirectUri) for the manager with a custom scheme as follows: com.company.app.staging.dev://oauth2redirect/, and I’ve set the postLogoutRedirectUri as: com.company.app.staging.dev://endsessionredirect/.
I’ve double-checked that these URIs are declared the same on the Azure AD side.