# Securing Blazor WebAssembly Apps

**URL:** <https://community.auth0.com/t/securing-blazor-webassembly-apps/46661>\
**Category:** Get Help\
**Tags:** dotnet, webassembly, .net, blazor\
**Created:** [July 21, 2020, 3:10pm UTC](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661 "2020-07-21T15:10:03Z")\
**Posts on this page:** 1\
**Showing post:** 55

<div class="post-metadata">

**Author:** ![andrea.chiarelli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrea.chiarelli/32/16034_2.png) [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Post date:** [November 9, 2020, 1:49pm UTC](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661/55 "2020-11-09T13:49:49Z")

</div>

Hey @mjones, your code looks ok.  
My only concern is about this:

![image](https://global.discourse-cdn.com/auth0/original/3X/c/d/cdf0e4c016e61f5e37c4e4e552b1577016405d76.png)

Did you define the API identifier only in the API section of your Auth0 Dashboard?  
**Did you also assign it as the Default Audience in your tenant settings?**

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/9/89ce705ab60ab3f2ac02aa460f55e16035788627.jpeg)

The error message you get leads me to think you didn’t.  
Please, confirm me if you defined `https://quizmgr_api` as the Default Audience for your tenant.  
Otherwise, I’m afraid I need all the HTTP requests exchanged with Auth0 at the login step to see which parameters are passed.

---

_[View the full topic](https://community.auth0.com/t/securing-blazor-webassembly-apps/46661)._
