laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.

Home Page:https://laravel.com/docs/passport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page expiration issue

Chrisx84 opened this issue · comments

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

was a session issue sorry