Jwt-auth: How do I use version 1.0.0-alpha?

Created on 2 May 2016  路  3Comments  路  Source: tymondesigns/jwt-auth

Hi everyone,
I've tried jwt-auth 0.5.* with laravel 5 and everything is okay, but I want to use public/private key to sign jwt and only jwt-auth 1.0.0-alpha have that. Unfortunately, the docs isn't update :(, many things has changed and I don't know how to config, how to get it work. Can anyone help me? Can give me step-by-step to get it working?.

Thanks

Most helpful comment

I wrote a quick blog post on how I got things working with Lumen 5.2. https://iwader.co.uk/post/tymon-jwt-auth-with-lumen-5-2

All 3 comments

I wrote a quick blog post on how I got things working with Lumen 5.2. https://iwader.co.uk/post/tymon-jwt-auth-with-lumen-5-2

Oh fuck! I've been fucking with 0.5.9 version for the whole day, finally got it working as needed.. then I saw the 1.0.0 alpha and immideatelly updated.. stopped, when ->fromUser method gave me error about implementing JWTSubject and was complaining about how to append some custom claims.. Then returned everything back to the old version and now I want to get back to the alpha again. OH SHIT!

@iWader Thanks for your blog post!! Is very helpful!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mihailo-misic picture mihailo-misic  路  3Comments

phamduong picture phamduong  路  3Comments

heroghost picture heroghost  路  3Comments

lloy0076 picture lloy0076  路  3Comments

aofdev picture aofdev  路  3Comments