Missing Authorization Header
See original GitHub issueHi,
I’m getting “Missing Authorization Header” when trying to access a jwt_refresh_token_required endpoint. I’m using ‘Authorization’: 'Bearer ’ with the refresh_token but it tells me “Missing Authorization Header”
public getNewJwt() { // Get a new JWT from the server let refresh_token = localStorage.getItem('access_token'); let headers = new Headers({ 'Authorization': 'Bearer ' + refresh_token }); this.result = this.http.post(this.refreshTokenApiUrl, refresh_token, headers) .map((response: Response) => response.json) .subscribe(result => this.result =result); console.log(this.result); return this.result; }
What am I doing wrong 😃 ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Missing Authorization header when send http request from ...
I have an application in nodejs with jwt authorization, when I send a get from posman the authentication header is found but when...
Read more >The Authorization Header is Missing - Really Simple SSL
The problem appears to be that Apache does not automatically send authorization headers. If that happens, the header has to be enabled in...
Read more >What does "Authentication Header Missing" mean? - MHPOD
If you are seeing the error message "Authentication Header Missing" then one or other of these headers is being stripped from the browser...
Read more >Fix Site Health Error: The authorization header is missing
This error means that your WordPress Permalink rules are not up-to-date. To fix the issue, you need to update the Permalink rules in...
Read more >Authentication failed. The 'Authorization' header is missing
The 'Authorization' header is missing – Invoke-WebRequest Azure ARM. While building an automation procedure I had to POST the management API ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@skwidy thanks
Glad you got that working! 😃 I’ll keep a note of this in case other users report similar problems.
Cheers.