DutchCodingCompany / filament-socialite

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

[Question] How can I use the "Login with" buttons on pages other than the login page? #93

Closed willcastillo closed 2 months ago

willcastillo commented 2 months ago

Sorry, not a bug. The Ask a Question link takes me to a 404 in Discord.

I'd like to give my users the option to "Connect an account". So they are already logged in but I need them to connect their social accounts with different scopes.

Is there any way to show the button on a page or as an table action for instance? And now that I'm here, would it be possible to connect more than one account for the same provider? Like... two Instagram accounts? Given the indexes defined for in socialiate_users I'd say it is... but asking just in case!

Thanks!

willcastillo commented 2 months ago

Nevermind... solved it using pure Socialite and Filament.