Skip to content

Logout | After successful logout on browser user is not redirecting back to the application. #1091

@priyanka-Sadh

Description

@priyanka-Sadh

Issue

I am using below configuration for logout, same postLogoutRedirectUrl has been configured on Entra account. but popup coming after logout, is not redirecting user back to the app[SS attached].

const logoutConfig = {
  issuer: MSAL_ISSUER,
  clientId: MSAL_CLIENT_ID,
  redirectUrl: REDIRECT_URL,
};
try {
          await logout(logoutConfig, {
            idToken: token,
            postLogoutRedirectUrl: "com.appId://logout/",
          });
        } catch (e) {
          console.error("Logout error:", e);
        }
Image

Environment

  • Your Identity Provider: Azure
  • Platform that you're experiencing the issue on: iOS / Android / both
  • Your react-native Version: 0.80.1
  • Your react-native-app-auth Version: ^8.0.3
  • Are you using Expo?: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions