{"repo":"icoretech/omniauth-spotify","free":true,"listed":false,"github":"https://github.com/icoretech/omniauth-spotify","clone":"git clone https://github.com/icoretech/omniauth-spotify.git","description":"🔌 OmniAuth strategy for Spotify OAuth2 authentication","language":"Ruby","stars":66,"topics":["authentication","gem","oauth2","omniauth","rails","ruby","spotify","oauth-provider","omniauth-strategy"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"OmniAuth Spotify Strategy omniauth-spotify provides a Spotify OAuth2 strategy for OmniAuth. Installation Add this line to your application's Gemfile: Then run: Usage Configure OmniAuth in your Rack/Rails app: Provider App Setup - Spotify developer dashboard: - OAuth scopes reference: - Register callback URL (example): https://your-app.example.com/auth/spotify/callback - The redirect URI must match exactly in Spotify's dashboard. - Spotify requires HTTPS redirect URIs except for loopback IP literals such as http://127.0.0.1:3000/auth/spotify/callback ; localhost is not accepted. Options - scope - show dialog Forcing a Permission Dialog Spotify may skip the permission dialog when the user already granted access. To force it: - set request.env['rack.session']['omniauth spotify force approval?'] = true , or - pass show dialog=true on the auth request URL. Backward compatibility is preserved for the historical misspelled key: ommiauth spotify force approval? . Auth Hash Example payload from request.env['omniauth.auth'] (real shape, anonymized): info.email , info.image , info.birthdate , info.country code , info.product , and info.follower count are included only when Spotify returns those fields. Spotify API Changelog Notes The strategy still uses Spotify's authorization-code flow and GET https://api.spotify.com/v1/me for the current user profile. Recent changelog items reviewed: - February 2026 Development Mode changes: Spotify deprecated country , email , explicit content , foll","default_branch":null,"files":null,"tree":[],"storefront":"/r/icoretech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/icoretech/omniauth-spotify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}