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:
code:"access_denied"
description:"Invalid state"
name:"AnomalyDetected"
statusCode:403
This is my sign in code:
auth.signin({
connection: 'Username-Password-Authentication',
username: $scope.user.email,
password: $scope.user.password,
authParams: {
scope: 'openid name email' // Specify the scopes you want to retrieve
}
},function(){},function(err){
alertService.error(err['details']['description']);
},'Auth0');
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.