-
Notifications
You must be signed in to change notification settings - Fork 106
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
User failed to transfer to token #195
Comments
Question: did that happen outside the thinker environment too (eg. Web)? |
@Messhias Yes, so does the web |
@Messhias Change the getJWTCustomClaims in the User Model to the following, and the token can be obtained, but I still don't know what the root problem is. When I used tymon/jwt-auth before, getJWTCustomClaims can return an empty array here
Modify screenshot |
I did same as you and worked as well, @eschricker did that happens to you too? |
I don't need to pass I can't reproduce this error. |
I tried to reproduce the error again and didn't happen, what could be happened it's the $subject it wasn't a string. |
Subject of the issue
User failed to transfer to token
Your environment:
Steps to reproduce
The user failed to transfer to token. The specific error is reported
Operation screenshot
![](https://camo.githubusercontent.com/4824a8ed43ce153727cdb20d936e62a7b7d17c380e08d40f99105e8e650ec8b7/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303876787667476c793168386c316875673970676a333168363061796a73692e6a7067)
User Model implements are also correct
![](https://camo.githubusercontent.com/61b448c15723f02a466e9e8e9f5e5546a1cd4fb2bf9a84b6e6e8d7510697ee5f/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303876787667476c793168386c316a3737656f646a33306e6c30637161617a2e6a7067)
The text was updated successfully, but these errors were encountered: