Hi @dan.woda,
I just had contradicting information and the unofficial information is the one that worked for me.
on Lock Configuration Options I have:
var options = {
auth: {
audience: 'https://YOUR_DOMAIN/userinfo',
}
}
whereas on Audience with embedded Lock as Popup - #3 by zatziky I used the following signature that worked instead of the one above:
const lock = new Auth0Lock(clientId, domain, {
oidcConformant: true,
autoclose: true,
auth: {
sso: false,
responseType: 'token id_token',
redirectUri: process.env.AUTH0_REDIRECT_URI,
params: {
audience: 'https://my-api.io'
}
}
})
Best