DutchCodingCompany / filament-socialite

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

Redirect doesn't work with Telegram provider #95

Closed punyflash closed 1 month ago

punyflash commented 2 months ago
DutchCodingCompany\FilamentSocialite\Http\Controllers\SocialiteLoginController::redirectToProvider(): Return value must be of type Illuminate\Http\RedirectResponse, string returned

There is not always redirect response for returns in controller, Telegram provider returns plain html to display login button

bert-w commented 2 months ago

I dont know what the implementation should be; the redirect() function of the Socialite driver requires a RedirectResponse. Feel free to submit a PR.