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

No token is returned using auth()->tokenById() #1681

Open
mvsiaga opened this issue Oct 5, 2018 · 0 comments
Open

No token is returned using auth()->tokenById() #1681

mvsiaga opened this issue Oct 5, 2018 · 0 comments

Comments

@mvsiaga
Copy link

mvsiaga commented Oct 5, 2018

Subject of the issue

I need to get the the user token using the user id. But auth()->tokenById() does not return any data. Please help me on this. Thanks.

Your environment

Q A
Bug? no / yes
New Feature? no / yes
Framework Laravel / Lumen
Framework version 5.7
Package version 1.0.0
PHP version 5.x.y / 7.1

Steps to reproduce

Tell us how to reproduce this issue.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

@mvsiaga mvsiaga changed the title No token is returned using tokenById() No token is returned using auth()->tokenById() Oct 5, 2018
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

1 participant