API Setup documentation for C#, UseJwtBearerAuthentication is obselete

I am following the documentation here:
https://manage.auth0.com/#/apis/59aa44e15c0d160491d4bf81/quickstart
Under Configuring your API to accept RS256 signed tokens
The C# code mentioned is indicating as obselete, is it possible to update the documentation with the latest code, ideally for .net core.
Thanks

Also, the example at https://auth0.com/docs/api/management/v2/tokens for calling the management API in C# uses RestSharp, which is not compatible with .net core.

Thanks for reporting. I have made a not to look into both of these.

For the RestSharp snippet, we are using a 3rd party library which generates the code from a HAR snippet. Not sure if they support .NET Core. If not, I’ll raise an issue on that library

Thanks for reporting. I have made a note to look into both of these.

For the RestSharp snippet, we are using a 3rd party library which generates the code from a HAR snippet. Not sure if they support .NET Core. If not, I’ll raise an issue on that library

@bradflyon Unfortunately RestSharp itself does not yet support .NET Core, so not much we can do about that. They are busy working on it though.

You can of course also use our Auth0.NET library which is a wrapper around our Management and Authentication APIs. It is a .NET Standard library, and works with .NET Core: GitHub - auth0/auth0.net: .NET client for the Auth0 Authentication & Management APIs.

Thanks. I just used httpClient to make the calls, but need to check out Auth0.NET

Thanks. I just used httpClient to make the calls, but need to check out Auth0.NET