Comments (6)
I had to add http://localhost:55643/signin-oidc to the list of Reply URLS in the Azure AAD settings.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
I understand that IIS Express ran the sample from localhost:55643 and not localhost:5000 as explained in the Readme.md. See step 1.5.
Now why was the sample run from a different base URL? did you change it, @RolandLeFranc ?
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
It's not about the port being different. The step is missing in the doc.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Do you want something else than step 1.5 ?
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
We had the same issue we had to add localhost to the reply url. Why exactly is a localhost url needed in a reply url in Azure Registered App ? I want to understand why we need to input a localhost url and why the error: AADSTS50011 is occurring without it.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
@taggie05 : what happens is that the authentication is delegated to Azure Active Directory, which let the user enter the credentials, do the multi-factor authentication (if needed) and other conditional access, requests consent from the user (if needed), and then calls back the application at the Reply URL with the access token (or, in this case, a code that can be redeemed to get an access token).
As long as you are running the Web app in a local browser, you need this Reply URL.
When you deploy it to Azure (for instance), you'll need to update the Reply URLs in the application registration.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.
Related Issues (20)
- Not working with AAD tenant HOT 1
- How to you get Azure b2c edit profile to work? HOT 2
- The reply address 'https://localhost:44353/signin-oidc' does not match the reply addresses HOT 2
- Unit / Integration Test HOT 1
- Update the README.md file in the aspnet_core_2_0 branch
- OpenIdConnectOptions creating is BUG! HOT 6
- How to authenticate in SPA on different domain than ASP.NET Core Backend with CORS enabled HOT 6
- Configure session timeout HOT 1
- Does not use the ClientSecret value HOT 2
- Identity - not authenticated and claims are missing HOT 1
- After login browsers loops between azure ad and app, until fail with bad request HOT 2
- AddAzureAd method name change in .NET Core 2.1 HOT 2
- How do I use AzureAD to Authenticate and then use IndividualAuth for Authorization? HOT 3
- appsettings.json TenantId and ClientId HOT 1
- Integration testing HOT 1
- Problem with reply url
- Failed to acquire token silently as no token was found in the cache. Call method AcquireToken HOT 1
- System.Exception: Correlation failed HOT 1
- Publishing to Azure not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-directory-dotnet-webapp-openidconnect-aspnetcore.