All Projects → SocialiteProviders → Spotify

SocialiteProviders / Spotify

Licence: other
[READ ONLY] Subtree split of the SocialiteProviders/Spotify Provider (see SocialiteProviders/Providers)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Spotify

VKontakte
[READ ONLY] Subtree split of the SocialiteProviders/VKontakte Provider (see SocialiteProviders/Providers)
Stars: ✭ 82 (+530.77%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
Slack
[READ ONLY] Subtree split of the SocialiteProviders/Slack Provider (see SocialiteProviders/Providers)
Stars: ✭ 11 (-15.38%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
Twitch
[READ ONLY] Subtree split of the SocialiteProviders/Twitch Provider (see SocialiteProviders/Providers)
Stars: ✭ 20 (+53.85%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
Weibo
[READ ONLY] Subtree split of the SocialiteProviders/Weibo Provider (see SocialiteProviders/Providers)
Stars: ✭ 37 (+184.62%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Twitter
[READ ONLY] Subtree split of the SocialiteProviders/Twitter Provider (see SocialiteProviders/Providers)
Stars: ✭ 21 (+61.54%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Instagram
[READ ONLY] Subtree split of the SocialiteProviders/Instagram Provider (see SocialiteProviders/Providers)
Stars: ✭ 34 (+161.54%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+22584.62%)
Mutual labels:  oauth, oauth2, oauth1
Weixin
[READ ONLY] Subtree split of the SocialiteProviders/Weixin Provider (see SocialiteProviders/Providers)
Stars: ✭ 84 (+546.15%)
Mutual labels:  oauth, oauth2, social-media
Qq
[READ ONLY] Subtree split of the SocialiteProviders/QQ Provider (see SocialiteProviders/Providers)
Stars: ✭ 50 (+284.62%)
Mutual labels:  oauth, oauth2, social-media
electron-oauth-helper
Easy to use helper library for OAuth1 and OAuth2.
Stars: ✭ 55 (+323.08%)
Mutual labels:  oauth, oauth2, oauth1
Oauthlib
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Stars: ✭ 2,323 (+17769.23%)
Mutual labels:  oauth, oauth2, oauth1
Pow assent
Multi-provider authentication for your Pow enabled app
Stars: ✭ 236 (+1715.38%)
Mutual labels:  oauth, oauth2
oauther
OAuth 1.0 for Elixir
Stars: ✭ 64 (+392.31%)
Mutual labels:  oauth, oauth1
Authing
🔥Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+1800%)
Mutual labels:  oauth, oauth2
laravel-socialiter
Automatically manage user persistence and resolution for any Laravel Socialite provider.
Stars: ✭ 43 (+230.77%)
Mutual labels:  oauth, socialite
sample-oauth2-client
Sample OAuth2 client using the GitHub API
Stars: ✭ 69 (+430.77%)
Mutual labels:  oauth, oauth2
Authlib
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Stars: ✭ 2,854 (+21853.85%)
Mutual labels:  oauth, oauth2
erlang-oauth
An Erlang OAuth 1.0 implementation
Stars: ✭ 298 (+2192.31%)
Mutual labels:  oauth, oauth1
instagram-oauth-nodejs-server
Node.js server for Intagram-API OAuth purpose.
Stars: ✭ 12 (-7.69%)
Mutual labels:  oauth, oauth2
oauthproxy
This is an oauth2 proxy server
Stars: ✭ 32 (+146.15%)
Mutual labels:  oauth, oauth2

Spotify

composer require socialiteproviders/spotify

Installation & Basic Usage

Please see the Base Installation Guide, then follow the provider specific instructions below.

Add configuration to config/services.php

'spotify' => [    
  'client_id' => env('SPOTIFY_CLIENT_ID'),  
  'client_secret' => env('SPOTIFY_CLIENT_SECRET'),  
  'redirect' => env('SPOTIFY_REDIRECT_URI') 
],

Add provider event listener

Configure the package's listener to listen for SocialiteWasCalled events.

Add the event to your listen[] array in app/Providers/EventServiceProvider. See the Base Installation Guide for detailed instructions.

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Spotify\SpotifyExtendSocialite::class.'@handle',
    ],
];

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('spotify')->redirect();

Returned User fields

  • id
  • name
  • email
  • avatar
  • profileUrl
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].