I m currently using social authentication (which is working) for my website Asp.Net Core with Angular.
I would like to be able to test my webserver using xUnit Test. For this, I need a bearer.
So to get the JWT i need to call : https://auth0.com/docs/api/authentication#authorization-code
But to call it, first i Need to call: https://auth0.com/docs/api/authentication#authorization-code-grant
I have a web page as result not a json.
What is your easiest solution to get a new JWT from a userId ?