Jwt-auth: Token does not have three parts? : Wrong number of segments

Created on 1 Jun 2018  路  3Comments  路  Source: tymondesigns/jwt-auth

Subject of the issue

I ran to this error : Wrong number of segments

Created token :

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9jaGF0YXBpLmxvY2FsXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTI3ODcwODM0LCJleHAiOjE1Mjc4NzQ0MzQsIm5iZiI6MTUyNzg3MDgzNCwianRpIjoiam9UUDIyWkdCNW5nNjdzeiIsInN1YiI6IjFiM2E3N2UwLTUzYTUtMTFlOC04NzYwLWE5ZDliZjAwNWEzOSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.F6qxmlPQ66s474QOMQHQZV3bQhZNK0sOWkNK4OPGAno

I have setup the JWT_SECRET JWT_SECRET=4QSGXw8tatwI94HnYkHqgl7gEhQcUfRK

capture d ecran 2018-06-01 a 18 39 41

Your environment

| Q | A
| ----------------- | ---
| Bug? | no / yes
| New Feature? | no
| Framework | Laravel
| Framework version | 5.6
| Package version | 1.0.0-rc.2
| PHP version | 7.2

Thanks for reply.

stale

Most helpful comment

capture d ecran 2018-06-01 a 19 14 40

All 3 comments

capture d ecran 2018-06-01 a 19 14 40

I encountered a scenario where I get this error on high traffic only. I don't understand how it's possible.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phamduong picture phamduong  路  3Comments

NaelsonBrasil picture NaelsonBrasil  路  3Comments

Rasoul-Karimi picture Rasoul-Karimi  路  3Comments

johncloud200 picture johncloud200  路  3Comments

heroghost picture heroghost  路  3Comments