HomeiOS Developmentandroid - After profitable logout person is just not redirecting again to...

android – After profitable logout person is just not redirecting again to the app


I’m engaged on a react-native utility the place have implement Microsoft Entra authentication by react-native-app-auth. Login is working as anticipated I’m going through a problem with logout –
From person profile, person clicks on logout and an internet browser will get open to select an account for logout, after selecting an account person see efficiently logout message. After this browser ought to auto shut and person ought to redirected again to the appliance. As an alternative, browser stays open with a message “It’s good thought to shut all browser”. Sharing the code snippet and screenshot of challenge.

postLogoutRedirectUrl – Identical url has been added on azure app registration.

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

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments