DutchCodingCompany / filament-socialite

Add OAuth login through Laravel Socialite to Filament.
MIT License
141 stars 36 forks source link

Add new callback route #105

Closed bert-w closed 1 week ago

bert-w commented 1 month ago

Use a new callback route named "$slug/oauth/callback/{provider}" which already contains the panel slug. This should simplify the logic since the CSRF protection is already handled by Socialite itself. In addition, this should resolve certain issues where providers would not send a state query to the callback url.