I am using auth-lock in Angular 14 to show passwordless widget and am having issues getting the jwt token to send to our api. Heres how I am initialize the passwordless lock.
lock = new Auth0LockPasswordless('{Client ID}', '{Audience}', {
autoclose: true,
allowedConnections: ['email'],
auth: {
redirect: false,
responseType: 'token id_token',
},
});
I am seeing a Opaque token and a JWT id token on the this.lock.on('authenticated',
call. But the id token throws a 401, is there something I am missing here?