Sample JS app that will call the login endpoint then display the JWT?

I’m writing a backend API that will be called from an SPA or native mobile client. The API expects a JWT token for the authenticated user. I’ve got the API and application set up in Auth0, is there a sample javascript application somewhere that will send me to the login, then display the JWT token to me after redirecting from the login endpoint to use when testing the API calls?

Front end development is not my strong point, I’m just looking for something like a really simple sample application that will easily give me a JWT to test with, I don’t need anything fancy or something that also includes a sample API to call.

Thanks!