Auth0 Home Blog Docs

V8 Client Login Unauthorized

login
v8
unauthorized

#1

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

webAuth.client.login(
        {
          realm: 'Username-Password-Authentication',
          username: email,
          password: password,
          scope: 'openid offline_access',
        },
        ....
)

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


#2

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.


#3