Skip to content

jonathantribouharet/omniauth-spotify-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth Spotify OAuth2

Gem Version

Strategy to authenticate Spotify in OmniAuth.

Installation

OmniAuth Spotify OAuth2 is distributed as a gem, which is how it should be used in your app.

Include the gem in your Gemfile:

gem 'omniauth-spotify-oauth2', '~> 1.0'

Integrate this strategy to your OmniAuth middleware.

Rails.application.config.middleware.use OmniAuth::Builder do
	provider :spotify, ENV['SPOTIFY_CLIENT_ID'], ENV['SPOTIFY_CLIENT_SECRET'], scope: 'playlist-modify-public'
end

Author

License

OmniAuth Spotify OAuth2 is released under the MIT license. See the LICENSE file for more info.

About

OmniAuth Strategy for Spotify via OAuth2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages