Comments (9)
@markolbert
I'm sorry for your frustration with our samples. I can assure you that we spend a lot of time updating them.
That said, I'm confused as for me the description above maps to the experience in the portal.
Then given that a URL is a kind of URI, I had not thought that "adding a redirect URL" would be wrong (especially the text below the Redirect URIs heading explains that reply URLs and redirect URLs are the same thing.).
Are you seing something different? Or otherwise what am I missing?
from active-directory-aspnetcore-webapp-openidconnect-v2.
Yep, I'm seeing something totally different. Here's what I thought was the top-level view:
This is inside my tenant directory.
When I click on the newly-created/registered app, here's what shows up:
How did you navigate to what you're seeing? Did I create/register an app in another part of the Azure Portal unrelated to what the documentation assumes?
from active-directory-aspnetcore-webapp-openidconnect-v2.
@markolbert
I've 2 questions for you:
- In which Azure region are you?
- When you click on Azure Active Directory in the vertical menu bar on the left-hand side, don't you see App Registration (Preview) ?
cc: @lnalepa FYI.
from active-directory-aspnetcore-webapp-openidconnect-v2.
@markolbert Unfortunately, the preview experience is currently not available in B2C tenants. Are you able to use another tenant? I have answered your StackOverflow question.
from active-directory-aspnetcore-webapp-openidconnect-v2.
Nope. I don't see a preview, just App Registrations (I assumed it had been released, and was no longer in preview):
I noticed that @lnalepa has just added to this thread that the preview experience is not available in B2C tenants. Any idea on when it might be available? Or if there's a workaround for it not being available yet?
FWIW, it'd be worth putting a noticeable disclaimer in the sample docs that they don't currently work with B2C tenants. That's probably obvious to people who know what they're doing. But for those of us who are trying to learn this stuff, it's not clear why an example which sure seems like it ought to apply, doesn't.
I will also point out that this situation is an example, IMHO, of what happens when a software environment is rapidly evolving (and here I'm not talking about the Azure Portal, but the broader Azure Active Directory environment). Stuff gets "disconnected" from the current state of the art. What's worse, because all the documentation -- both current and older stuff -- comes up through online searches, it becomes extremely difficult, for newcomers and/or people who don't live and breathe a particular subsystem, to separate the wheat from the chaff.
I'm not sure how to do it, but there needs to be a much stricter curating function for the documentation. Right now all I can do is check the date stamp on when the documentation last got published, and discount anything more than X months old...which is a really silly way of trying to substitute for a curating process.
from active-directory-aspnetcore-webapp-openidconnect-v2.
@markolbert i'm from the Azure AD B2C product team. Are you trying to register a B2C application to authenticate using Azure AD B2C? If so, you should be using the app registration experience through the Azure AD B2C menu
See instructions here:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-app-registration
from active-directory-aspnetcore-webapp-openidconnect-v2.
Hi @parakhj. Here's what I'm trying to do: I want to authenticate users via social logins (currently Google & MicrosoftAccount), and then use Graph to store certain optional user information (those additional elements are optional because they define whether a user is a member of the site I'm building -- non-members get to use certain features of the site, but members get to use everything).
I explained this a bit more over on stackoverflow, at https://stackoverflow.com/questions/53603535/authentication-vs-authorization/53606885. I'm trying to follow the suggestion that was supplied there, which is why I stumbled into this sample.
from active-directory-aspnetcore-webapp-openidconnect-v2.
Closing this issue, as we've added a disclaimer that this sample is not for Azure AD B2C.
Thanks for the heads-up, @markolbert
See also #16 which is about providing a variation for Azure AD B2C
from active-directory-aspnetcore-webapp-openidconnect-v2.
@markolbert you should follow the instructions as outlined in https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet (the same doc that Abhishek linked to)
from active-directory-aspnetcore-webapp-openidconnect-v2.
Related Issues (20)
- System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://XXX.onmicrosoft.com/XXX_SignUp_SignIn/v2.0/.well-known/openid-configuration'. HOT 5
- [Feature Request] Update 2-WebApp-graph-user/2-3-Multi-Tenant to Graph SDK 5 HOT 1
- 1-5-B2C Returning 'Unauthorized_client' error HOT 2
- Fix graphic on 3-Web-app-multi-apis & 4-1
- Why is the secret necessary in sample 2-1-Call-MSGraph? HOT 4
- AADSTS501461 on 4-1-MyOrg HOT 2
- Please update your client sample to use Blazor Web App in .NET 8 HOT 2
- Notes: Notes.md
- [Feature Request] HOT 1
- [Azure AD B2C] AADB2C90057: The provided application is not configured to allow the 'OAuth' Implicit flow HOT 1
- Error when redirecting to Graph API deployed to Azure Web Apps HOT 3
- SecurityTokenSignatureKeyNotFoundException: IDX10503: Signature validation failed. HOT 1
- Querying the MS Graph as part of the OnTokenValidated fails with error that "Input id_token cannot be used as ..."
- Configure.sp1
- [Feature Request]
- Code example does not handle OData error to process the CAE challenge from Microsoft Graph. HOT 1
- mongodb HOT 1
- Required step to add owner is missing in documentation
- Revoke session/Reset password not Asking relogin even enabled CAE in WebAPP code
- Should app registrations be defined in a B2C Active Directoy for the example found in 4-WebApp-your-API/4-1-MyOrg?
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-aspnetcore-webapp-openidconnect-v2.