question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing Authorization Header

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dtytomicommented, Jun 28, 2020

@skwidy thanks

0reactions
vimalloccommented, Jan 3, 2017

Glad you got that working! 😃 I’ll keep a note of this in case other users report similar problems.

Cheers.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found