icoretech / omniauth-spotify

OmniAuth strategy for Spotify Web API
MIT License
65 stars 25 forks source link

Update Readme to show Rails Credentials as example #16

Closed MikeRogers0 closed 6 years ago

MikeRogers0 commented 6 years ago

Am I OK to update the README.md Usage section to use Rails credentials instead of Rails secrets?

It would replace the code sample, with:

config.omniauth :spotify, Rails.application.credentials.spotify[:client_id], Rails.application.credentials.spotify[:client_secret], scope: %w(
  playlist-read-private
  user-read-private
  user-read-email
).join(' ')
masterkain commented 6 years ago

👍