Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: Add scope param to auth redirect

  • Loading branch information...
commit 931777ae66790311fd18aceced9379dae2dcabd2 1 parent 276174d
@jvatic jvatic authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/omniauth/strategies/tent.rb
View
1  lib/omniauth/strategies/tent.rb
@@ -119,6 +119,7 @@ def build_uri_and_redirect!
:tent_profile_info_types => options[:profile_info_types].join(','),
:tent_post_types => options[:post_types].join(','),
:tent_notification_url => options[:notification_url],
+ :scope => options[:app][:scopes].keys.join(','),
:redirect_uri => callback_url,
}
params[:state] = set_state(:state, SecureRandom.hex(32))
Please sign in to comment.
Something went wrong with that request. Please try again.