I did the following:
-
Created a SPA client and added http://localhost:3000 to Allowed Origins (CORS)
-
Create a simple angular 1.6 SPA app
-
Called the following and receiving the error - “cross origin login not allowed”
angularAuth0.login({ username: vm.credentials.username, password: vm.credentials.password, realm: "Username-Password-Authentication" }, function (err, result) { console.log(err); console.log(result); });