Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in README.md #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ config.omniauth :spotify, keys.spotify['client_id'], keys.spotify['client_secret
## Forcing a Permission-Request Dialog

If a user has given permission for an app to access a scope, that permission won't be asked again unless the user revokes access.
In these cases, authorization sequences proceed without user interation.
In these cases, authorization sequences proceed without user interaction.

To force a permission dialog being shown to the user, which also makes it possible for them to switch Spotify accounts,
set either `request.env['rack.session'][:ommiauth_spotify_force_approval?]` or `flash[:ommiauth_spotify_force_approval?]` (Rails apps only)
Expand All @@ -54,7 +54,7 @@ to a truthy value on the request that performs the Omniauth redirection.
## Auth Hash Schema

* Authorization data is available in the `request.env['omniauth.auth'].credentials` -- a hash that also responds to
the `token`, `refresh_token`, `expires_at`, and `expires` methods.
the `token`, `refresh_token`, `expires_at`, and `expires?` methods.

```ruby
{
Expand Down