Skip to content

In App Browser not opening after logoutΒ #38

@razmans

Description

@razmans

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,
   });
 }```

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