laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.29k stars 780 forks source link

Page expiration issue #1732

Closed Chrisx84 closed 8 months ago

Chrisx84 commented 8 months ago

Passport Version

12.x

Laravel Version

11.0.7

PHP Version

8.2

Database Driver & Version

Mariadb latest

Description

I keep getting 419 page expired when i click Approve for Socialite/Passport. main site using lasted passport 12 and laravel 11. fresh install. second site using fresh install of laravel 11 and socialite 4.5 I generated the client through artisan on the main site. I get to the passport page to approve the request, when i click either buttons i get the page expired.

Steps To Reproduce

installed laravel 11 on both sites. installed passport on site A, My own socialite provider using their manager 4.5. Generated a client ID and secret using php artisan as state in the passport docs. go to login on site B, redirects to passport's authorization page. Click either Authorize or Denie and get the page expire on route oauth/authorize

Chrisx84 commented 8 months ago

was a session issue sorry