react-native-azure-auth icon indicating copy to clipboard operation
react-native-azure-auth copied to clipboard

"We're unable to complete your request"

Open MatteoPuccio opened this issue 3 years ago • 0 comments

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:

image

MatteoPuccio avatar Jul 30 '22 14:07 MatteoPuccio