Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel doesn't return bearerToken when it's expired #34066

Closed
vahidvdn opened this issue Aug 30, 2020 · 2 comments
Closed

Laravel doesn't return bearerToken when it's expired #34066

vahidvdn opened this issue Aug 30, 2020 · 2 comments

Comments

@vahidvdn
Copy link

  • Laravel Version: 7.x
  • PHP Version: 7.3
  • Database Driver & Version:

Description:

I get bearer token in laravel by following:

$bearerToken = $request->bearerToken();

When The token is not expired, it returns the token, but as soon as the token becomes expired, it returns null. (The token still exists in apache_request_headers())

Any idea?

@driesvints
Copy link
Member

Please don't open support issues on this repo (see the issue templates). Ask on a support channel:

@vahidvdn
Copy link
Author

@driesvints Don't you think there is a tiny possibility that this can be a bug report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants