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.

Problems when token is not existing

See original GitHub issue

I have faced an issue when sendAccessToken: true is set and use ri snot logged (he not suppose to be logged in all pages) requests header is set anyway Authorization: Bearer null this causes error 500 when used with .NET CORE 2 Authorization attribute.

I think it will be good to not send token if it has no value even when this flag is set. For now i will stick with my own version of intercpetor

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jeroenheijmanscommented, Jun 18, 2018

@liranAtli Aye, this was fixed around May 10th I think, the relevant line of code (AFAICT) is here. You might need to upgrade to the latest release (and Angular 6 as such), or backport it yourself (since the 3.x version doesn’t have the check).

0reactions
liranAtlicommented, Jun 18, 2018

Hi, Some one can tell me if this problem is solved yet? or any suggest for solution 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

"token does not exist" - Stack Overflow
It happen because the authentication token of CLI does not match with our accounts. Solution: Try running ask init command again. And If...
Read more >
I'm Having Problems with My Hardware Token for Two-Step ...
Solution: You can fix the token by logging in with a passcode generated by the token three times in a row. At the...
Read more >
Solved: Access Token Information Not Working - 382648
The existing Access Token Endpoint that's referenced within our documentation is only configured to work with our old authorization management ...
Read more >
Token is not authorized immediately - Auth0 Community
I'm using auth0 in a spring boot application (micro services architecture) with security. One of the micro services in my application logs ...
Read more >
Generate access token, if Refresh token not exist - Drupal
Problem /Motivation The existing code only automatically replaces an expired token if a refresh token is provided.
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