Auth0 Home Blog Docs

V8 Client Login Unauthorized



Using the V8 Node library, calling client.login errors out upon making the /userinfo call, only receiving an Unauthorized error message.

          realm: 'Username-Password-Authentication',
          username: email,
          password: password,
          scope: 'openid offline_access',

even adding the line audience: to the options when logging in doesn’t fix it. Problem started happening today, nothing was changed in regards to the login flow.


There was an incident detected around that same timeline and that is now resolved that could explain that situation, in particular, the underlying cause was with the /userinfo endpoint so if you can no longer reproduce the situation what you experienced was the same issue that was addressed in the linked incident.