Open
Description
Issue
Hello,
The callback URIs are defined in the Azure AD portal.
tr.edu.ozyegin.myozutest://oauth/redirect/
tr.edu.ozyegin.myozutest://oauth/logged_out/
For login:
When you run the following code, it opens a login window where, after entering the email and password, the automatically opened window closes successfully. There is no problem with the authorize function.
await authorize({
issuer: 'https://login.microsoftonline.com/xxx/v2.0',
clientId: 'xxx',
redirectUrl: 'tr.edu.ozyegin.myozutest://oauth/redirect/',
scopes: ['openid', 'profile', 'email'],
iosPrefersEphemeralSession: true,
});
However, when logging out, the window that opens does not automatically close. There is a problem with this:
await logout({
issuer: 'https://login.microsoftonline.com/xxx/v2.0',
clientId: 'xxx',
iosPrefersEphemeralSession: true,
}, {
idToken: 'xxx',
postLogoutRedirectUrl: 'tr.edu.ozyegin.myozutest://oauth/logged_out/',
});
I am sharing the video as attached.
out.mp4
What should I do?
Environment
- Your Identity Provider:
Azure AD
- Platform that you're experiencing the issue on:
both
- Your
react-native
Version:e.g. 0.75.4
- Your
react-native-app-auth
Version:e.g. 8.0.1
- Are you using Expo?: No