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

Followed Sample Set up and receive an error when configuring Site #6

Open
marcjutras opened this issue Nov 1, 2017 · 4 comments
Open

Comments

@marcjutras
Copy link

Hello,
I have followed all of the step by step instructions for setting up this sample. When i navigate to the url and sign in as an admin i receive an error

AADSTS50011: The reply address 'https://b2bplan-webtyoeovfmkg6jo.azurewebsites.net/' does not match the reply addresses configured for the application: | AADSTS50011: The reply address 'https://b2bplan-xxxxxxxx.azurewebsites.net/' does not match the reply addresses configured for the application.

I have checked the reply URL and the homepage url and they match. When i try to sign in with a different user account that is not in my tenant i get an error that states that i need to add that acocunt as a guest account so i know that authentication is working.

Anything else i should be looking for?

@bretthacker
Copy link
Collaborator

bretthacker commented Nov 1, 2017

Make sure that the trailing forward slash on the URL is present in the AAD app config. It's picky that way.

@marcjutras
Copy link
Author

marcjutras commented Nov 2, 2017 via email

@bretthacker
Copy link
Collaborator

bretthacker commented Nov 2, 2017

OK, I haven't played with this in a while so I just went through it and everything worked. What I noticed is that when copying the URL from the newly created web app, you DON'T have a trailing slash. So make sure that you're using https for the protocol, and make sure the trailing slash is NOT in the Azure AD configurations. Check the home page and reply URL for both the admin app and the preauth app - there are 4 places where this value is updated.

@marcjutras
Copy link
Author

marcjutras commented Nov 2, 2017 via email

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

2 participants