Alternatives for using jQuery library for Auth0 for ASP.NET client app with ASP.NET API

I have an ASP.NET client app that gets connected with and ASP.NET API on the resource server but we are using Auth0 for authentication and authorization, now I want a JWT token to be returned to my ASP.NET client app that I can send to my resource server which authenticates the subsequent calls via the JWT token provided by Auth0.

I found some jQuery library implementations on Auth0 official GitHub but it says this has been deprecated and I’m not really sure on how to do it with ASP.NET SPA.

Can someone please help me in this regard? Thanks