active-directory-dotnet-graphapi-b2bportal-web icon indicating copy to clipboard operation
active-directory-dotnet-graphapi-b2bportal-web copied to clipboard

Sign In Error (Application ID / Client ID mismatch)

Open nduijvelshoff opened this issue 5 years ago • 1 comments

I deployed the application using the instructions in "Setup.md" and the application got live. Once I open the application for the first time and try to Sign In I get the following error:

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: '{{application_id}}'.

Now I figured that the {{application_id}} shown in the error is the Application ID of the Admin app instead of the Pre-Auth app.

I check my configuration to make sure that I didn't make any mistakes, but it looks like the WebApp is using the client ids and secrets switched?

nduijvelshoff avatar Nov 23 '18 12:11 nduijvelshoff

When I add the reply url's to the Admin App, it does work, but then I don't use the Pre-Auth App at all.

nduijvelshoff avatar Nov 23 '18 12:11 nduijvelshoff