Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReturnUri to Localhost

Tags:

During development the team prefer to develop against a local database and local IIS Express web server.

We tried to configure an address of http://localhost:<port>/ in the Azure AD B2C application configuration as a return URI, but this isn't permitted (technically it should work, although I can see why it isn't permitted). So at the moment, when anyone signs in, it returns them to the test server URL.

We'd like to be returned to our local development server instance. Is there any way that people know of to achieve this?

like image 826
Adrian Thompson Phillips Avatar asked May 17 '16 11:05

Adrian Thompson Phillips


1 Answers

You can use localhost, but make sure to use https:

https://localhost:<port>

See also this answer: DNS URLs in Azure AD B2C don't work

Just a self signed certificate is enough to make this work. We use this a lot (together with B2C) for our development machines.

like image 120
Erik Oppedijk Avatar answered Sep 28 '22 02:09

Erik Oppedijk