Generate Auth Cookie for user authentication with AngularJS
-
Hello there,
thank you for your work.I am using the default AngularJS $http service in order to generate an auth cookie for user authentication. Here is my $http service:
$http({ method: 'POST', url: api_url + 'auth/generate_auth_cookie/?nonce=' + data.nonce + '&username=' + username + '&password=' + password }). success(function(data, status, headers, config) {}). error(function(data, status, headers, config) {});This is working perfectly. My very important issue is the following one. When the password contains the # character, I am always receiving an invalid username/password combination message. Is it something in my end? Please note that this is happening only with this specific character in any position of the password.
I really appreciate your help.
Thanks again
George
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Generate Auth Cookie for user authentication with AngularJS’ is closed to new replies.