WP Plugin login and API audience

Hello,

Is it possible to set an API audience with the wordpress login ?

This way I can get a token valid for my API when a user login with wordpress.
Where do I specify the audience ? Will the login still work ?

Thank you

You can set the audience by configuring Extra settings under the Advanced tab in the plugin settings like so: {"auth":{"params":{"audience": "http://your-domain.tld/example"}}}

You can also use this setting to make any other customisations to the Lock widget you may need.