-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I am building an Android application that would enable the user to log in and log out.
The user logs in- No problem
The user logs out- No problem
The user tries to log in again-> The in app browser is not opening. Do you know what I am doing wrong, I have added all the necessary credentials.
My Log In function:
return new Promise((resolve, reject) => {
const options: LoginOptions = {
...this.configData.mobileConfig
};
try {
MsAuthPlugin.login(options).then((resultLogin: LoginResponse) => {
resolve(resultLogin);
});
} catch (err) {
reject(err);
}
});
}```
My log out function
```public async logoutUser(): Promise<void> {
await MsAuthPlugin.logout({
clientId: this.configData.adConfig.clientId,
tenant: this.configData.mobileConfig.tenant,
domainHint: this.configData.mobileConfig.domainHint,
keyHash: this.configData.mobileConfig.keyHash,
});
}```
dandamoodi and FelixDigitalWonderlab
Metadata
Metadata
Assignees
Labels
No labels