Socialite
expects its drivers to conform within the OAuth specifications. Unfortunately, Steam doesn't offer an OAuth solution, but rather OpenID. Because of this, we need to specify only an API key and a redirect URI. However, the SocialiteProviders/Manager
package requires us to specify all three configuration keys (client_id
, client_secret
and redirect
) and thus we must set the client_id
to any value, regardless of it not being utilised.
'steam' => [
'client_id' => null,
'client_secret' => env('STEAM_KEY'),
'redirect' => env('STEAM_REDIRECT_URI'),
],
// other values above
STEAM_KEY=yourapikeyfortheservice
STEAM_REDIRECT_URI=https://example.com/login
Full documentation for using this provider can be found at Steam Documentation