Class: OmniAuth::Strategies::Joinme
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Joinme
- Defined in:
- lib/omniauth/strategies/joinme.rb
Instance Method Summary collapse
-
#callback_url ⇒ Object
Exclude query string in callback_url to prevent redirect_uri mismatch.
- #raw_info ⇒ Object
Instance Method Details
#callback_url ⇒ Object
Exclude query string in callback_url to prevent redirect_uri mismatch
42 43 44 |
# File 'lib/omniauth/strategies/joinme.rb', line 42 def callback_url [:callback_url] || (full_host + script_name + callback_path) end |
#raw_info ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/joinme.rb', line 37 def raw_info @raw_info ||= keys_to_underscore(MultiJson.decode(access_token.get("user").body)) end |