Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Error when try to auth #160

Closed
panovvitalik opened this issue Sep 17, 2020 · 4 comments
Closed

Error when try to auth #160

panovvitalik opened this issue Sep 17, 2020 · 4 comments

Comments

@panovvitalik
Copy link

I have created my app under "portal.azure.com"
I have added a platform android to it. The portal is generated Uri for me like: "msauth://my_package_name....
Then I try to login using this lib and after I inputted e-mail address I got following error page:

"We're unable to complete your request
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application."

What is wronge?

@BhupeshDexati
Copy link

In Azure Portal, select your app and then go to Authentication page, Click on Add URI in Mobile and Desktop Application section and add "urn:ietf:wg:oauth:2.0:oob" as redirect URL and use the same in client app. This fixed the same issue for me, hope it would be helpful.

@panovvitalik
Copy link
Author

In Azure Portal, select your app and then go to Authentication page, Click on Add URI in Mobile and Desktop Application section and add "urn:ietf:wg:oauth:2.0:oob" as redirect URL and use the same in client app. This fixed the same issue for me, hope it would be helpful.

"Redirect URI" field is readonly in the azur portal.
When I try to input your value in the "Package name" field I recieve this error: "Less than 218 characters in length"

@BhupeshDexati
Copy link

You are trying with on wrong card...
Click on Add URI and add underlined code

Annotation 2021-07-29 130444

@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #172 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants