# Auth0 integration with Blazor wasm in AspNet Core Hosted

**URL:** <https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 7, 2023, 6:12am UTC](https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860 "2023-02-07T06:12:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![goldytech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/goldytech/32/44376_2.png) [@goldytech](https://community.auth0.com/u/goldytech)\
**Post date:** [February 7, 2023, 6:12am UTC](https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860/1 "2023-02-07T06:12:07Z")

</div>

I’ve created the Blazor WASM app with the AspNet Core Hosted model.  
I want to integrate Auth0 Authentication into this app, and I followed the tutorial described over [here](https://auth0.com/blog/securing-blazor-webassembly-apps/)

I’ve used Radzen Blazor Components for UI  
The issue is that the Code flow grant type doesn’t work, and it is not getting redirected to Auth0 Login Screen.  
The sample code of the application can be found in this [git repo](https://github.com/goldytech/SchoolErp2)

---

<div class="post-metadata">

**Author:** ![goldytech](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/goldytech/32/44376_2.png) [@goldytech](https://community.auth0.com/u/goldytech)\
**Post date:** [February 7, 2023, 8:40am UTC](https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860/2 "2023-02-07T08:40:53Z")

</div>

The issue got fixed after renaming the AccessControl component to LoginDisplay

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 7, 2023, 12:36pm UTC](https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860/3 "2023-02-07T12:36:51Z")

</div>

Wohoooo! Thanks for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 21, 2023, 12:37pm UTC](https://community.auth0.com/t/auth0-integration-with-blazor-wasm-in-aspnet-core-hosted/99860/4 "2023-02-21T12:37:10Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
