You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above snippet is defined inside of my Angular module's config function. I'm making the HTTP request to my API in an Angular controller, using either a service or using $httpProvider, ex:
$http.get('https://myapi.com/api/v1/me').then(function(response){//authorized users only response});
Why is ng-token-auth not attaching the data listed in tokenFormat? The data is stored in localStorage, but not being attached to HTTP requests sent in my Angular app.
The text was updated successfully, but these errors were encountered:
I have set up ng-token-auth and after authenticating the auth info is not being attached to subsequent requests:
The above snippet is defined inside of my Angular module's
config
function. I'm making the HTTP request to my API in an Angular controller, using either a service or using$httpProvider
, ex:Why is
ng-token-auth
not attaching the data listed intokenFormat
? The data is stored in localStorage, but not being attached to HTTP requests sent in my Angular app.The text was updated successfully, but these errors were encountered: