Passport: Configure Passport::routes()

Created on 9 Feb 2017  ·  3Comments  ·  Source: laravel/passport

I migrated to L5.4 while I was on 5.1. I used a now deprecated OAuth lib for Laravel.

Now, I don't want the oauth routes to be changed, because it will break all my applications in production.
For example, mine is /oauth2/access_token while the one you provide is /oauth/token

I might do a manual redirection also, but it sounds nice to add this feature.
Thanks.

Most helpful comment

then don't use Passport::routes() write the routes manually and see RouteRegistrar.php for your reference

All 3 comments

then don't use Passport::routes() write the routes manually and see RouteRegistrar.php for your reference

see #271

Closing this, even if the real problem was not solved.

Was this page helpful?
0 / 5 - 0 ratings