I couldn't help noticing the cat box, I have exactly the same one, but I don't have a cat yet ;-/ I wonder if you need a cat at home to be a good programmer.
@@miguelblanco3484 nice that you have the same one! I don't think you need a cat to be a good programmer, but I think it will make you a happier programmer 😊
Hi! Thanks for viseo. can you please make a tutorial of aspNet web api + Blazor webassembly standalone app (not a `BlazorApp` or `Blazor Server` templates) Identity auth tutotial (new way, .net 8)? register, login, logout features
@@CodeWithAnjuli Hello, thank you, excellent contribution. I reviewed the code and the logout does not work, starting because the project does not compile, could you guide me in the correction please? Traducir
Probably might save some folks a bit of time and frustration: to log in you need the full principal name not just the first part. If you only type the name part you'll get "invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application." Now don't let that fool you, you set up everything correctly, no need to triple check your redirect uris for typos. What I think is happening in the background is that a name is found in SOME tenant, but most likely not yours and that causes the issue. You can clearly see the difference if you type in some nonsense random string as username: "We couldn't find an account with that username.".
Thanks for sharing. Have you found a way to pull in application roles from the Entra ID enterprise application. If I create some custom roles in the app manifest I cant seem to use them with [Authorize(Role = "Admin")]. Maybe its not supported.
@@CodeWithAnjuli I took your example and tried it out. it works. But nor Role - [Authorised(Roles="role")]. With a special feature: if you use the wrong “role” you get 404 back.
@@pvanroos true, that's not build-in with this template, which normally is in previous .NET versions. It's on my list of things to add to my repository
Very easy to follow & clear. Thanks, you've saved me a lot of time upgrading my applications to .NET 8!
Great! So Nice with a simple demo. It works :). But unable to logout? Hmmmm How is that done. Not as easy or im missing something :)
Thanks, easy to learn step by step, 👍
Just what I needed - brief and complete - thank you.
video is very clear and to the point
Thanks a lot , saved my day
I couldn't help noticing the cat box, I have exactly the same one, but I don't have a cat yet ;-/
I wonder if you need a cat at home to be a good programmer.
@@miguelblanco3484 nice that you have the same one! I don't think you need a cat to be a good programmer, but I think it will make you a happier programmer 😊
Thank you so much
Tnx Anjuli !!!
Hi! Thanks for viseo. can you please make a tutorial of aspNet web api + Blazor webassembly standalone app (not a `BlazorApp` or `Blazor Server` templates) Identity auth tutotial (new way, .net 8)? register, login, logout features
Hi! I will look into it and make a video when I can make it work :)
Very instructive video, but I only have one question: how can I implement a logout?
I will try to make an example in my Github repository soon
@@CodeWithAnjuli Hello, thank you, excellent contribution. I reviewed the code and the logout does not work, starting because the project does not compile, could you guide me in the correction please?
Traducir
@marcopenroz649 thank you! I will let you know when I have a working example
Probably might save some folks a bit of time and frustration: to log in you need the full principal name not just the first part. If you only type the name part you'll get "invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application."
Now don't let that fool you, you set up everything correctly, no need to triple check your redirect uris for typos. What I think is happening in the background is that a name is found in SOME tenant, but most likely not yours and that causes the issue. You can clearly see the difference if you type in some nonsense random string as username: "We couldn't find an account with that username.".
@@majormartintibor thank you for clarifying! I will ask around about this problem
Super easy to follow, thanks!
Is there anything for logout?
I'm looking into it! I will let you know when I find somethng and add it in my repo
Great video, thank you. One question, is there anything you need to configure on the client side project for Entra ID?
Yes, installing the identity package, the settings in the appsettings.json and the code in the Program.cs. You can find an example in my repository
Thanks for sharing. Have you found a way to pull in application roles from the Entra ID enterprise application. If I create some custom roles in the app manifest I cant seem to use them with [Authorize(Role = "Admin")]. Maybe its not supported.
I've not tried this myself but I will look into it when I have time 🙂
@@CodeWithAnjuli I took your example and tried it out. it works. But nor Role - [Authorised(Roles="role")]. With a special feature: if you use the wrong “role” you get 404 back.
Excellent presentation. Keep it up.
@@allied-data thank you!
/authentication/logout results in a 404 for my Blazor App which mirrors yours in this tutorial
@@pvanroos true, that's not build-in with this template, which normally is in previous .NET versions. It's on my list of things to add to my repository