react-native-azure-auth
react-native-azure-auth copied to clipboard
"We're unable to complete your request"
I tried the code snippet proposed in the usage section
try { let tokens = await azureAuth.webAuth.authorize({scope: 'openid profile User.Read Mail.Read' }) this.setState({ accessToken: tokens.accessToken }); let info = await azureAuth.auth.msGraphRequest({token: tokens.accessToken, path: '/me'}) this.setState({ user: info.displayName, userId: tokens.userId }) } catch (error) { console.log(error) }
Unfortunately, after inserting the email the following image appears in the WebView:
