FormidableLabs / FormidableLabs/react-native-app-auth

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

Open
#1,091 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## 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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.