Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect URIs with urn: schemes are prohibited #48

Closed
SalmanMukhtar opened this issue Feb 7, 2020 · 2 comments
Closed

Redirect URIs with urn: schemes are prohibited #48

SalmanMukhtar opened this issue Feb 7, 2020 · 2 comments

Comments

@SalmanMukhtar
Copy link

Hi,

My referesh token is expired so i run the keyvault project to get a referesh token and get the following error.

It was ok a couple of months ago. I am not sure whats changed.

There is no change in the config file or anything. Why i am getting this? How to solve this issue?

AADSTS500119: Redirect URIs with urn: schemes are prohibited. Use a different scheme, or https://login.microsoftonline.com/common/oauth2/nativeclient

@SalmanMukhtar
Copy link
Author

i get a null on this line

Newtonsoft.Json.Linq.JObject token = await AuthorizationUtilities.GetAADTokenFromRefreshToken(
"https://login.microsoftonline.com/" + tenantId,
"https://api.partnercenter.microsoft.com",
CspApplicationId,
CspApplicationSecret,
refreshToken);

@ysrinivasarao
Copy link

I am also getting the following error while trying to run tje Secure-app-mdeol keyvalut
Parttner-Center-DotNet-Samples/secure-app-model/keyvault/PartnerConsent/

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants