tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
https://jwt-auth.com
MIT License
11.31k stars 1.54k forks source link

How to upgrade? #1068

Open andersonrocha0 opened 7 years ago

andersonrocha0 commented 7 years ago

How to upgrade from 0.5.9 to 1.0.0-beta.3.

Tks.

Mr-Anonymous commented 6 years ago

I have the same question. I have been using "tymon/jwt-auth": "0.5.*" in Laravel 5.3 and now I am upgrading Laravel to 5.6 and jwt-auth to 1.0.0-rc.2. How do I do the upgrade for jwt-auth from 0.5.* to 1.0.0?

Do I need to:

  1. Remove the JWTAuthServiceProvider from providers array, JWTAuth from aliases and JWTFactory from Facade in config/app.php

  2. Delete the old jwt.php config file

  3. And follow the installation instruction here as if its a new installation?

Is that how I do it? If the above is right, apart from the above 3 steps, is there any other steps I need to check to ensure?

And, I don't need to add the service provider to the providers array in the config/app.php config file if its Laravel 5.6?

dhcmega commented 5 years ago

Hi, did you upgrade? Are old tokens still working? I need to upgrade from 0.5 to 1 and of course I cannot tell all my users to relogin. Thanks!

stale[bot] commented 3 years ago

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.