-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This page does not describe authentication with "MS Account" #21816
Comments
Hello @ddobric ... That's correct tho for this type of account. We don't want to get into the weeds here between AAD organizational accounts and MSA personal accounts; however, I feel that cross-linking to something in the Azure docs does make sense if I can find something good to cross-link. I'll see what I can scare up in the way of a good Azure resource on Thursday morning and get back to you. Oh ... and for ...
This is it. This is our bare bones coverage for the WASM standalone scenario. Most of the general docs reside in the Azure doc set; so for more info, you'd want to search their doc set for all of the juicy details. They have quite a bit of detailed coverage, including their own sample apps. |
Thanks for quick answer @guardrex . Regarding my second question, I'm not sure what you mean? I'm not looking for MS Account auth in general? |
Those aren't two different things: MS account auth in general is how Blazor apps authenticate users with MS accounts using the What I think I might be able to do here is track down one or two suitable links for these account types, organizational and personal, and set those here early so that readers can find their way over to more info. That's probably the best that I can do. We often recommend to readers to discuss things on common support channels. Try these, which we frequently recommend ... Leave this issue open ... it will close automatically when the PR merges later. I do hope to do something with cross-linking that will help clarify these scenarios. |
I think I see what you might be asking: Why is You'll get better information from the Azure docs than from me, and I'll see in the morning what I can scare up to cross-link. |
It's an interesting historical subject. I did a quick search, and you can see several years ago how much confusion the two Identity systems were causing ... It's especially disturbing that users would leave a company, have their 'work and school' organizational account get shutdown ... but then lose access to their personal account if they forgot their password. Ouch! 🙈 That was addressed tho. |
I took a look. The current opening cross-link is to ... ... as it includes the account types choices. Unfortunately, it doesn't address the "common" authority endpoint. These have related info but not "common" endpoint information ...
This is the only one that I've come across there that explains the different account types with the "common" endpoint ...
... and I didn't recall this one (but I may have seen this years ago) ...
... and I haven't tried it, so I assume that it works as advertised.
I think for any coverage problems that pertain to that doc set that you'd need to open an issue and discuss it with them. Hopefully tho, these cross-links have given you some relevant additional information. I'll leave u with what I said at the outset: This is our bare bones tutorial-type coverage for Blazor WebAssembly standalone apps that authenticate users with Microsoft Accounts, and the Azure docs will need to resolve all of the detail for the scenario. We just want to get devs up and running with basic authn/z experiences here and not cover AAD/B2C in depth. |
@guardrex , thank you for your suggestion. In general the all OAuth story is too complicated. and we (all) need to do a better job There is no single sample for which one can be sure that it works. Internet I full of workarounds that after a few months do not work or even work with an invalid configuration. I originally started this post by looking for a sample that shows how to authenticate in Blazor WASM by using MS Account. I still didn't find that sample. :) If developers need to research for a feature like authenticate and authorize, then we failed. Even customers expect such features to be out of the box for free. My observation is like: services.AddFooAuth() Also, the approach by different project templates is not satisfying. It is good for demos and learning paths. But the real-life looks different. The real-life project might start without authentication or with authentication AuthFoo. Then people change their decision to use AuthBar. So, what then? To create a new project from the correct template? The sad story is, that this is really the recommended way. We should never forget that OAuth is in fact very simple thing designed to be simple. config.UseFooAuth It is kind of funny :) My suggestion is to delete/refactor all Auth samples and start documentation from the begining. |
I haven't reached this node of the Blazor docs yet on my UE ("user experience," i.e., doc overhaul) pass tracked by #19286. I'll review your remarks and suggestions when I reach that node. This won't get lost, as I've cross-linked it on that issue. Thanks for providing your feedback. |
@guardrex thanks for your support. We are happy that there is somebody who will take care of this. |
The title of this page is "Secure an ASP.NET Core Blazor WebAssembly standalone app with Microsoft Accounts".
However, this page describes AAD authentication with the common endpoint.
Another question related to this is "Where is a description of how to authenticate with MS Account"?
Thanks in advance
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: