Skip to content

AuthInterceptor and user token not passed #118

@shyamrock

Description

@shyamrock

I have written updatePassword in AuthService.js:
updatePassword: function updatePassword(credentials) {

        return $http
          .post(BackendConfig.url + '/updatePassword', credentials, {withCredentials: false})
          .then(
          function(response) {

            //var msg = response.data.message
            MessageService.success('Your Password Changed Successfully!');

            //$localStorage.credentials = response.data;
          }
        )
          ;
      }

The call is getting into server side however the request.token on server is failing and looks like User is not passed. Where and how does Authinterceptor send this data, I did check local storage does have user credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions