Can't get lock to return a JWT

I’ve read lots of docs and no matter what I do I cannot get Lock to give me back a JWT as the docs indicate it will. It will only give me the short access token. What do I have to do to get a JWT? Do you have an example?

This is with Google Acct

Hey @trackfly :wave: There are 2 types of token formats that Auth0 generates:

  1. Opaque strings
  2. JWTs

The type of token you receive depends on your query to the /authorize endpoint or your Lock configuration. To get a JWT, you will need to specify the audience parameter to either use an API you have setup in the Dashboard or

The following document outlines the types of access tokens and the scenarios in which each type is generated:

I’d also recommend starting out with one of the Quickstarts to get up and running: Auth0

Let me know if you have any other questions!

1 Like

Thanks, that definitely got it returning a JWT, appreciate the assistance.