Permalink
Browse files

Fix: Ensure scheme for discovery phase

  • Loading branch information...
1 parent 49dc1d3 commit b07278655058ba048977e95613bf7a316307a9dc Jesse Stuart committed Oct 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/omniauth/strategies/tent.rb
@@ -82,7 +82,7 @@ def get_state(key)
def perform_discovery!
client = ::TentClient.new
- @profile, @server_url = client.discover(request[:entity]).get_profile
+ @profile, @server_url = client.discover(get_state(:entity)).get_profile
set_state(:server_url, @server_url)
set_state(:profile, @profile)
end

0 comments on commit b072786

Please sign in to comment.