# \#.net

**URL:** https://community.auth0.com/tag/net/21.md

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

---

## [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

---

## [Angular and .NET 6 integrated](https://community.auth0.com/t/angular-and-net-6-integrated/124647)

<div class="topic-metadata">

**Author:** [@lahiru.gambheera](https://community.auth0.com/u/lahiru.gambheera)\
**Replies:** 1\
**Last updated:** [January 19, 2024, 4:18pm UTC](https://community.auth0.com/t/angular-and-net-6-integrated/124647 "2024-01-19T16:18:11Z")

</div>

I’m wring an client server application with Angular and .NET 6 to implement Autherization and Autherization with Auth0. Here I’m following Authorization Code Flow These are the steps that I have followed Created Single…

---

## [Understanding Dependency Injection in .NET Core](https://community.auth0.com/t/understanding-dependency-injection-in-net-core/37740)

<div class="topic-metadata">

**Author:** [@bachi.degli-innocent](https://community.auth0.com/u/bachi.degli-innocent)\
**Replies:** 17\
**Last updated:** [August 30, 2022, 7:46am UTC](https://community.auth0.com/t/understanding-dependency-injection-in-net-core/37740 "2022-08-30T07:46:46Z")

</div>

Learn what Dependency Injection and IoC are and what .NET Core provides you to support them. Brought to you by @andrea.chiarelli Read on

---

## [Using C# Extension Methods for Auth0 Authentication](https://community.auth0.com/t/using-c-extension-methods-for-auth0-authentication/55417)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 6\
**Last updated:** [August 16, 2022, 8:54am UTC](https://community.auth0.com/t/using-c-extension-methods-for-auth0-authentication/55417 "2022-08-16T08:54:56Z")

</div>

How to use C# extension methods to simplify Auth0 configuration for ASP.NET web applications. Read more Brought for you by @andrea.chiarelli

---

## [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…

---

## [Missing create:user\_tickets scope when using the Auth0 .NET SDK](https://community.auth0.com/t/missing-create-user-tickets-scope-when-using-the-auth0-net-sdk/80058)

<div class="topic-metadata">

**Author:** [@fishmoose](https://community.auth0.com/u/fishmoose)\
**Replies:** 3\
**Last updated:** [March 18, 2022, 3:56pm UTC](https://community.auth0.com/t/missing-create-user-tickets-scope-when-using-the-auth0-net-sdk/80058 "2022-03-18T15:56:12Z")

</div>

We’re using the Auth0 .NET SDK to interact with the management API. The ManagementApiClient (named ManagementClient ) is created like so: var response = await \_authClient.GetTokenAsync(new ClientCredentialsTokenReques…

---

## [Easy Authentication in Xamarin Apps with Auth0](https://community.auth0.com/t/easy-authentication-in-xamarin-apps-with-auth0/37364)

<div class="topic-metadata">

**Author:** [@bachi.degli-innocent](https://community.auth0.com/u/bachi.degli-innocent)\
**Replies:** 11\
**Last updated:** [March 19, 2021, 11:07am UTC](https://community.auth0.com/t/easy-authentication-in-xamarin-apps-with-auth0/37364 "2021-03-19T11:07:04Z")

</div>

Learn how to add authentication to iOS and Android apps with Xamarin and Auth0. Brought to you by @daniel.krzyczkowski Check it out

---

## [Five Things You Should Know About .NET 5](https://community.auth0.com/t/five-things-you-should-know-about-net-5/52992)

<div class="topic-metadata">

**Author:** [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Replies:** 7\
**Last updated:** [January 25, 2021, 8:50am UTC](https://community.auth0.com/t/five-things-you-should-know-about-net-5/52992 "2021-01-25T08:50:15Z")

</div>

What’s new in .NET 5? Learn how .NET Core and .NET Framework evolve into the new cross-platform framework. Read more… Brought for you by @andrea.chiarelli

---

## [Signature Invalid when signing with JWT.NET](https://community.auth0.com/t/signature-invalid-when-signing-with-jwt-net/62792)

<div class="topic-metadata">

**Author:** [@hypnotic](https://community.auth0.com/u/hypnotic)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 11:15pm UTC](https://community.auth0.com/t/signature-invalid-when-signing-with-jwt-net/62792 "2021-05-17T23:15:10Z")

</div>

Hey, I am currently struggling with creating signatures with any .net library to access Twitch api endpoints. The jwt.io page always says the signature is invalid when I copy paste my generated jwt there. When I edit th…

---

## [Google API Login + OAuth 2.0](https://community.auth0.com/t/google-api-login-oauth-2-0/11482)

<div class="topic-metadata">

**Author:** [@stevenosan](https://community.auth0.com/u/stevenosan)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 10:54pm UTC](https://community.auth0.com/t/google-api-login-oauth-2-0/11482 "2018-06-04T22:54:44Z")

</div>

Context: I’m trying to make a back end api that utilizes the google auth api through auth0. This is a .Net core 2.0 webapi solution I’ve downloaded the primer solution. Using postman, I can’t seem to get the auth0 prim…

---

## [.NET API cannot read token after uploading](https://community.auth0.com/t/net-api-cannot-read-token-after-uploading/10919)

<div class="topic-metadata">

**Author:** [@ckim91](https://community.auth0.com/u/ckim91)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 5:22pm UTC](https://community.auth0.com/t/net-api-cannot-read-token-after-uploading/10919 "2018-12-18T17:22:24Z")

</div>

I am using an Angular 2 SPA that connects to a C# .NET Web API to handle authentication, and when I tested it locally, I didn’t have any problems. But after uploading it to Amazon Web Services (AWS), the API can’t seem t…

---

## [Getting funny results when using UserClient.GetAllAsync](https://community.auth0.com/t/getting-funny-results-when-using-userclient-getallasync/9861)

<div class="topic-metadata">

**Author:** [@dean.ashton](https://community.auth0.com/u/dean.ashton)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 5:00pm UTC](https://community.auth0.com/t/getting-funny-results-when-using-userclient-getallasync/9861 "2018-12-17T17:00:47Z")

</div>

Hi everyone, I am getting funny results when searching for users. I am using the .Net Auth0 component to do the searching using the UserClient’s GetAllAsync method. Users I have in Auth0: scooby.doo@travelctm.com scoo…

---

## [Auth0 not working with https for Asp.net MVC 5](https://community.auth0.com/t/auth0-not-working-with-https-for-asp-net-mvc-5/9100)

<div class="topic-metadata">

**Author:** [@awilliam](https://community.auth0.com/u/awilliam)\
**Replies:** 2\
**Last updated:** [February 19, 2018, 9:33pm UTC](https://community.auth0.com/t/auth0-not-working-with-https-for-asp-net-mvc-5/9100 "2018-02-19T21:33:18Z")

</div>

My ASP.NET MVC5 application has https enabled till the load balancer (AWS), and http behind it. When I try to authenticate using auth0, I am getting an error. I do understand that the problem is because the application…

---

## [How to use Passwordless login with Auth0.Net](https://community.auth0.com/t/how-to-use-passwordless-login-with-auth0-net/9016)

<div class="topic-metadata">

**Author:** [@tomas.winston](https://community.auth0.com/u/tomas.winston)\
**Replies:** 1\
**Last updated:** [December 20, 2017, 9:03pm UTC](https://community.auth0.com/t/how-to-use-passwordless-login-with-auth0-net/9016 "2017-12-20T21:03:08Z")

</div>

I have added the Auth0.AuthenticationApi to my Xamarin Forms project. I can see that the Client has a method called “StartPasswordlessSmsFlowAsync”. I have been trying to find a clear and concise example of implementing …

---

## [ASP.NET Web API2 Framework 4.5.2 access app\_metadata](https://community.auth0.com/t/asp-net-web-api2-framework-4-5-2-access-app-metadata/8870)

<div class="topic-metadata">

**Author:** [@adamaero](https://community.auth0.com/u/adamaero)\
**Replies:** 1\
**Last updated:** [December 4, 2017, 8:01pm UTC](https://community.auth0.com/t/asp-net-web-api2-framework-4-5-2-access-app-metadata/8870 "2017-12-04T20:01:43Z")

</div>

I can’t figure out how to access app\_metadata property in my controller (ASP.NET WebAPI 2) . I added CMP\_KEY in app\_metadata for all users… Here is what I’ve tried so far: //get userID from access\_token(WORKS !): var…

---

## [Management API V2 for .NET UpdateAsync fails with conflict errors](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544)

<div class="topic-metadata">

**Author:** [@Jeff\_Gochin](https://community.auth0.com/u/Jeff_Gochin)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 12:00am UTC](https://community.auth0.com/t/management-api-v2-for-net-updateasync-fails-with-conflict-errors/8544 "2017-12-01T00:00:13Z")

</div>

I have recently been getting errors like the following, in various combinations. Cannot update email\_verified and phone\_number simultaneously It started when I tried updating the phone\_number field. I have tried to s…

---

## [Manual Register .NET CORE 2.0](https://community.auth0.com/t/manual-register-net-core-2-0/8391)

<div class="topic-metadata">

**Author:** [@harry](https://community.auth0.com/u/harry)\
**Replies:** 6\
**Last updated:** [October 18, 2017, 9:52pm UTC](https://community.auth0.com/t/manual-register-net-core-2-0/8391 "2017-10-18T21:52:48Z")

</div>

Migrated from 1.1 to 2.0, and I implemented a custom login instead of the lock originally provided. I have login’s working and signups from external providers working - but where’s the code for registering?

---

## [Properly Setting up .Net WebApi using Owin for Multi Tenants](https://community.auth0.com/t/properly-setting-up-net-webapi-using-owin-for-multi-tenants/8223)

<div class="topic-metadata">

**Author:** [@jeremy11](https://community.auth0.com/u/jeremy11)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 7:52am UTC](https://community.auth0.com/t/properly-setting-up-net-webapi-using-owin-for-multi-tenants/8223 "2017-09-19T07:52:28Z")

</div>

I’m working on a SaaS product that will need to allow for multiple tenants. This application will have fine-grained access control (think functions vs roles) and a low chance of a user spanning multiple tenants (User A…

---

## [How do I use Auth0 for logging into my Application?](https://community.auth0.com/t/how-do-i-use-auth0-for-logging-into-my-application/8113)

<div class="topic-metadata">

**Author:** [@gsctca](https://community.auth0.com/u/gsctca)\
**Replies:** 3\
**Last updated:** [September 7, 2017, 8:35pm UTC](https://community.auth0.com/t/how-do-i-use-auth0-for-logging-into-my-application/8113 "2017-09-07T20:35:53Z")

</div>

I am new to Auth0, and this may seem like a bad question but I am having trouble figuring out how to use Auth0 to log into an application that I am creating for a client. My App is a .NET Web API application that uses An…

---

## [Sample app for MVC client credentials](https://community.auth0.com/t/sample-app-for-mvc-client-credentials/7873)

<div class="topic-metadata">

**Author:** [@ecarter](https://community.auth0.com/u/ecarter)\
**Replies:** 3\
**Last updated:** [August 18, 2017, 10:35pm UTC](https://community.auth0.com/t/sample-app-for-mvc-client-credentials/7873 "2017-08-18T22:35:39Z")

</div>

Is there a sample app available for implementing the client credentials grant to secure an MVC app? Most examples here and elsewhere use APIs. Our specific use case is to provide secure app to app communication but in …

---

## [Need help upgrading to newer Auth0 .NET SDK version](https://community.auth0.com/t/need-help-upgrading-to-newer-auth0-net-sdk-version/7218)

<div class="topic-metadata">

**Author:** [@loren.halvorson](https://community.auth0.com/u/loren.halvorson)\
**Replies:** 2\
**Last updated:** [June 26, 2017, 11:15pm UTC](https://community.auth0.com/t/need-help-upgrading-to-newer-auth0-net-sdk-version/7218 "2017-06-26T23:15:17Z")

</div>

I have a couple of questions related to upgrading some .NET server-side code (WebAPI, .NET v4.5.2) to a newer version of the Auth0 .NET SDK. It is currently using a very old version of the Auth0 NuGet package 1.11.3, a…

---

## [How to use the .NET SDK to get an access token for the management API?](https://community.auth0.com/t/how-to-use-the-net-sdk-to-get-an-access-token-for-the-management-api/7219)

<div class="topic-metadata">

**Author:** [@saxon](https://community.auth0.com/u/saxon)\
**Replies:** 2\
**Last updated:** [June 23, 2017, 12:25pm UTC](https://community.auth0.com/t/how-to-use-the-net-sdk-to-get-an-access-token-for-the-management-api/7219 "2017-06-23T12:25:05Z")

</div>

Hi, I’m using the following code to try to get an access token for using the management API: string auth0Domain = "mydomain.au.auth0.com"; var auth0AuthenticationClient = new AuthenticationApiClient( new Uri(String…

---

## [SSO Sample Project does not work](https://community.auth0.com/t/sso-sample-project-does-not-work/6440)

<div class="topic-metadata">

**Author:** [@rmaurer](https://community.auth0.com/u/rmaurer)\
**Replies:** 0\
**Last updated:** [May 2, 2017, 10:15am UTC](https://community.auth0.com/t/sso-sample-project-does-not-work/6440 "2017-05-02T10:15:07Z")

</div>

Hello. I am trying to follow the SSO tutorial and it is not working for me. So, I downloaded the Angular JS sample project referenced in this page, Angulr JS Single Sign-On and I cannot seem to get the project to work. …

---

## [Using WebAPP with WebAPI (CORE) doesn't seem to be possible?](https://community.auth0.com/t/using-webapp-with-webapi-core-doesnt-seem-to-be-possible/6270)

<div class="topic-metadata">

**Author:** [@harry](https://community.auth0.com/u/harry)\
**Replies:** 9\
**Last updated:** [April 28, 2017, 5:19am UTC](https://community.auth0.com/t/using-webapp-with-webapi-core-doesnt-seem-to-be-possible/6270 "2017-04-28T05:19:07Z")

</div>

I have both a C# WebAPI2 (using .NET CORE) working with an entirely separate project which is using WebAPP (.NET CORE). I can’t find an example of using Auth0 with this setup. I can’t get user claims in “helper classes”…
