Questions tagged [authhttp]
8 questions
2
votes
0 answers
POSTMAN Digest authentication not working
I am trying to access a REST API (Shopware to be specific), which is hosted externally.
When I log in to the frontend in the browser, I first need to enter a set of credentials in the browser authentication pop up. And then the application opens and…

kiruthika
- 41
- 3
1
vote
0 answers
How do I catch AuthHttpError when making a request with AuthHttp?
I'm having an issue being able to catch the AuthHttpError that gets returned from calls to AuthHttpin angular2-jwt.
Whenever AuthHttp detects that the token is expired, it will throw AuthHttpError without sending the request to the backend. I would…

Charles Spencer
- 626
- 1
- 6
- 17
0
votes
1 answer
HttpClient's authorization headers returning null, tried all method from research but both of them not working
I have a fake back end service which provided by the tutorial, but the angular version of the tutorial is quite old. I decided to use new version of angular and auth0/jwt, but it's totally different from what the tutorial are teaching. I can't solve…

game symbol
- 135
- 2
- 10
0
votes
1 answer
Storage does not store (AuthHttp)
Storage won't set my id_token anymore
It was working the whole time, I tried to insert an imageurl from the api and after a while it just stopped working.
I get no errors what so ever and have tried everything.
My console.log in the…

Pie-Jie
- 1
- 3
0
votes
1 answer
Angular 2+/Auth0 using AuthHttp with a service and observable
Trying to convert my Http calls to AuthHttp calls and I get the compile errors listed below when using AuthHttp. I made 2 attempts in solving this and both produced different errors. I would like to preserve the structure I have of having the…

deathlok0000
- 13
- 1
- 3
0
votes
2 answers
angular2-jwt: AuthHttp causes an error 'Expected 0 type arguments, but got 1.'
when I use AuthHttp from angular2-jwt in code below, I see error:
"Expected 0 type arguments, but got 1."
public getData(): Observable{
const url = environment.apiUrl + "users";
return this.authHttp
.get(url)
.map((res: User[])…

pelcomppl
- 575
- 2
- 6
- 16
0
votes
1 answer
retry observable inside refresh token subscribe - angular 4
HI i have a service AuthenticationService to refresh token and an interceptor that intercepts AuthHttp calls, the problem is that in the interceptor method when the call fails i make the refreshToken call subscribing the observable then when i get…
0
votes
1 answer
AuthHttp doesn't send post payload
I was using angular 4's default Http module to send http request without any problem. However, I recently replaced the Http module with AuthHttp from angular2-jwt package. Now with AuthHttp, it stopped sending body as payload to the server in post…
user1663023