# \#blazor

**URL:** https://community.auth0.com/tag/blazor/1400.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Building Secure AI Agents with Microsoft Agent Framework and Auth0: User Authentication](https://community.auth0.com/t/building-secure-ai-agents-with-microsoft-agent-framework-and-auth0-user-authentication/202234)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 3\
**Last updated:** [August 4, 2026, 7:16am UTC](https://community.auth0.com/t/building-secure-ai-agents-with-microsoft-agent-framework-and-auth0-user-authentication/202234 "2026-08-04T07:16:38Z")

</div>

Let’s walk through a blog post series about securing AI agents built with C# and the Microsoft Agent Framework. This first installment covers user authentication for your basic agent.

---

## [Blazor Server Quickstart Issues](https://community.auth0.com/t/blazor-server-quickstart-issues/198990)

<div class="topic-metadata">

**Author:** [@Jon-Corey](https://community.auth0.com/u/Jon-Corey)\
**Replies:** 2\
**Last updated:** [April 15, 2026, 7:19pm UTC](https://community.auth0.com/t/blazor-server-quickstart-issues/198990 "2026-04-15T19:19:47Z")

</div>

I just went through the process of adding Auth0 to a Blazor Server application using the Blazor Server Quickstart. I had some issues and figured I’d report them so that they can be fixed and the next developers to use th…

---

## [Secure a .NET RAG System with Auth0 FGA](https://community.auth0.com/t/secure-a-net-rag-system-with-auth0-fga/192644)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 12:50pm UTC](https://community.auth0.com/t/secure-a-net-rag-system-with-auth0-fga/192644 "2025-10-01T12:50:26Z")

</div>

This blog post shows youhow to secure an AI chatbot built with .NET Blazor using the RAG pattern and make sure that users can only access information from documents they have permission to view.

---

## [User Onboarding Strategies in a B2B SaaS Application](https://community.auth0.com/t/user-onboarding-strategies-in-a-b2b-saas-application/189158)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 1\
**Last updated:** [July 14, 2025, 1:12pm UTC](https://community.auth0.com/t/user-onboarding-strategies-in-a-b2b-saas-application/189158 "2025-07-14T13:12:39Z")

</div>

Learn the strategies for onboarding users in a B2B SaaS application and take a look at a simple Blazor implementation based on invitations. Read on

---

## [Implementing Role-Based Access Control in Your Blazor B2B SaaS Application](https://community.auth0.com/t/implementing-role-based-access-control-in-your-blazor-b2b-saas-application/186787)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 6:00pm UTC](https://community.auth0.com/t/implementing-role-based-access-control-in-your-blazor-b2b-saas-application/186787 "2025-05-15T18:00:50Z")

</div>

Learn how to add Role-Based Access Control (RBAC) to your B2B SaaS application that leverages Auth0 Organizations. Read more… :writing\_hand:t2: Brought to you by @andrea.chiarelli

---

## [Enforce Customer Email Verification in Your B2B Blazor Web App](https://community.auth0.com/t/enforce-customer-email-verification-in-your-b2b-blazor-web-app/185916)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 1\
**Last updated:** [April 24, 2025, 8:40pm UTC](https://community.auth0.com/t/enforce-customer-email-verification-in-your-b2b-blazor-web-app/185916 "2025-04-24T20:40:27Z")

</div>

Checking your customers’ email addresses is a basic rule for securely onboarding them in your B2B SaaS application. Learn how to do it in your Blazor Web App. Read more… :writing\_hand:t2: Brought to you by @andrea.chia…

---

## [Enable Self-Subscribing Model in Your Blazor B2B SaaS Application](https://community.auth0.com/t/enable-self-subscribing-model-in-your-blazor-b2b-saas-application/184422)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 1\
**Last updated:** [March 25, 2025, 6:21pm UTC](https://community.auth0.com/t/enable-self-subscribing-model-in-your-blazor-b2b-saas-application/184422 "2025-03-25T18:21:07Z")

</div>

Learn how to enable self-subscription in your B2B SaaS application and automate the Organization creation process using the Auth0.NET SDK. Read more… :writing\_hand:t2: Brought to you by @andrea.chiarelli

---

## [Add Auth0 Organizations to Your B2B Blazor Web App](https://community.auth0.com/t/add-auth0-organizations-to-your-b2b-blazor-web-app/182379)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 3:47pm UTC](https://community.auth0.com/t/add-auth0-organizations-to-your-b2b-blazor-web-app/182379 "2025-02-18T15:47:46Z")

</div>

Enable multitenancy in your Blazor Web App with Auth0 Organizations and get ready for B2B. Read more… :writing\_hand:t2: Brought to you @andrea.chiarelli

---

## [What is Blazor? A Tutorial on Building Web Apps with Authentication](https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611)

<div class="topic-metadata">

**Author:** [@ramiro](https://community.auth0.com/u/ramiro)\
**Replies:** 173\
**Last updated:** [May 30, 2024, 3:51pm UTC](https://community.auth0.com/t/what-is-blazor-a-tutorial-on-building-web-apps-with-authentication/33611 "2024-05-30T15:51:14Z")

</div>

Learn how to build client-side Web apps using Blazor and how to secure them with Auth0 authentication and authorization features. Read on :fire: Brought to you by @andrea.chiarelli :man\_technologist:t2:

---

## [Securing Blazor WebAssembly Apps](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 198\
**Last updated:** [March 27, 2024, 5:36am UTC](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661 "2024-03-27T05:36:10Z")

</div>

Learn how to secure Blazor WebAssembly applications with Auth0. Read more Brought for you by @andrea.chiarelli

---

## [My Blazor Server app won't display the user name](https://community.auth0.com/t/my-blazor-server-app-wont-display-the-user-name/85054)

<div class="topic-metadata">

**Author:** [@JohnMarsing](https://community.auth0.com/u/JohnMarsing)\
**Replies:** 1\
**Last updated:** [April 30, 2023, 11:45pm UTC](https://community.auth0.com/t/my-blazor-server-app-wont-display-the-user-name/85054 "2023-04-30T23:45:42Z")

</div>

I can’t get my Shared\\LoginDisplay.razor to display the user name. This should work… \<AuthorizeView\> \<Authorized\> Hello @context.User.Identity.Name \</Authorized\> \<NotAuthorized\> \<a href="@Login" class="btn btn-…

---

## [Blazor WebAssembly with login UI in app](https://community.auth0.com/t/blazor-webassembly-with-login-ui-in-app/74164)

<div class="topic-metadata">

**Author:** [@kap](https://community.auth0.com/u/kap)\
**Replies:** 2\
**Last updated:** [January 30, 2023, 11:19am UTC](https://community.auth0.com/t/blazor-webassembly-with-login-ui-in-app/74164 "2023-01-30T11:19:41Z")

</div>

Hi, is possible following scenario? I have Balzor WebAssembly app and API. All UI components, login page, change password page, sign up page are in my app (no Auth0 UI) and I just call Auth0 API to authenticate user, lo…

---

## [Using Auth0 as third party](https://community.auth0.com/t/using-auth0-as-third-party/90830)

<div class="topic-metadata">

**Author:** [@newbie](https://community.auth0.com/u/newbie)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 1:40pm UTC](https://community.auth0.com/t/using-auth0-as-third-party/90830 "2022-09-19T13:40:42Z")

</div>

Hi, I’m a complete newbie regarding Auth0 but am slowly learning and appreciating the ease of use that Auth0 brings. Sorry if this question has been asked before, but I could not find any when searching. We are using a…

---

## [RequireHttpsMetadata](https://community.auth0.com/t/requirehttpsmetadata/80172)

<div class="topic-metadata">

**Author:** [@sean.feldman](https://community.auth0.com/u/sean.feldman)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 5:41pm UTC](https://community.auth0.com/t/requirehttpsmetadata/80172 "2022-03-21T17:41:00Z")

</div>

I’m building a Blazor WebAssembly (WASM) application hosted with ASP.NET Core on .NET 6. In my attempt to deploy to Azure App Service (Windows), I’ve run into an issue with the Auth0 configuration working locally but fa…

---

## [Blazor webassembly "User successfully logged out" followed by "Successful silent auth"?](https://community.auth0.com/t/blazor-webassembly-user-successfully-logged-out-followed-by-successful-silent-auth/68186)

<div class="topic-metadata">

**Author:** [@Macrossium](https://community.auth0.com/u/Macrossium)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 10:38am UTC](https://community.auth0.com/t/blazor-webassembly-user-successfully-logged-out-followed-by-successful-silent-auth/68186 "2022-02-07T10:38:24Z")

</div>

Hi Auth0 Community, I’ve implemented auth0 in my blazor webassembly app based on the great guide: It’s worked really well except for a problem where sometimes the logout seems to fail about 20% of the time. After try…

---

## [Access roles of current logged in user](https://community.auth0.com/t/access-roles-of-current-logged-in-user/51725)

<div class="topic-metadata">

**Author:** [@rakeshkananigtu](https://community.auth0.com/u/rakeshkananigtu)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 11:04pm UTC](https://community.auth0.com/t/access-roles-of-current-logged-in-user/51725 "2020-10-19T23:04:48Z")

</div>

Hi Team, I am working on blazor web assembly application and integrated Auth0 login screen. Assigned Role to a logged-in user from Auth0 Dashboard. I want to try to access logged in user roles from blazor app, but not …

---

## [Restricting access to a Blazor Component](https://community.auth0.com/t/restricting-access-to-a-blazor-component/40980)

<div class="topic-metadata">

**Author:** [@liftee](https://community.auth0.com/u/liftee)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 4:30am UTC](https://community.auth0.com/t/restricting-access-to-a-blazor-component/40980 "2020-05-05T04:30:38Z")

</div>

I am trying to restrict access to a Blazor Component with the @attribute \[Authorize(Roles = “admin”)\] I have added the role in the admin. How do I wire this up?
