AppAuth and AzureAD


I am trying to implement implicit flow for Azure AD with AppAuth and have similar issue as in this topic.

My problem is that authAsync seems to die silently. I get prompt to login and can go through login flow, but authAsync never executes code after await. I run following code (with correct tenant/clientid ofc) in Expo app:

async loginFunction() {
    const config = {
      issuer: '<tenant>/v2.0',
      clientId: '<clientid>',
      redirectUrl: "exp://host.exp.exponent",
      scopes: ["offline_access", "Calendar.Read","Calendar.ReadWrite", "User.Read", "User.ReadBasic.All"],
    const tokenResponse = await AppAuth.authAsync(config);
    //never gets here

Is it an issue with RedirectURI?

Best regards,


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.