Auth0 Home Blog Docs

Authentication fails with Invalid State and AnomalyDetected


I have an old system using angular v1 and auth0-js v6.8.4. I haven’t updated the auth0 library for a long time and it’s all working fine. Until a couple of days ago, the login function started to throw 403 error:

description:"Invalid state"

This is my sign in code:

    connection: 'Username-Password-Authentication',
    username: $,
    password: $scope.user.password,
    authParams: {
        scope: 'openid name email' // Specify the scopes you want to retrieve

Does any body know what has been changed recently to auth0? Since it’s a pretty old system, I just want to keep it working without updating the libraries in angular code. Many thanks.