DutchCodingCompany / filament-socialite

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

Document how to add scopes when using Spotify #63

Closed realtebo closed 6 months ago

realtebo commented 6 months ago

I am following instructions here: https://filamentphp.com/plugins/dododedodonl-socialite

I have filament 3.3 and laravel 10.x on php 8.2

I need to know how to pass scopes when using spotify as provider. It's the first time I use socialite trough another package.

Usually i chained ->scopes([..., ... , ...])

bramr94 commented 6 months ago

You need to add the scopes in the services.php config file. You are right we didn't document this correctly, will update the readme tomorrow.

Example:

'spotify' => [
    // Credentials
    'scopes' => [
        // Add scopes here.
    ]
],