Skip to content
/ Steam Public
forked from SocialiteProviders/Steam

Steam OpenID Provider for Laravel Socialite

License

Notifications You must be signed in to change notification settings

TGM/Steam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam OpenID Provider for Laravel Socialite

Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License

Configuration

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.

config/services.php

'steam' => [
    'client_id' => null,
    'client_secret' => env('STEAM_KEY'),
    'redirect' => env('STEAM_REDIRECT_URI'),
],

.env

// other values above
STEAM_KEY=yourapikeyfortheservice
STEAM_REDIRECT_URI=https://example.com/login   

Documentation

Full documentation for using this provider can be found at Steam Documentation

About

Steam OpenID Provider for Laravel Socialite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%