Class: OmniAuth::Strategies::Authentiq
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Authentiq
- Defined in:
- lib/omniauth/strategies/authentiq.rb
Constant Summary collapse
- BASE_URL =
Set the base URL
'https://connect.authentiq.io/'
Instance Method Summary collapse
-
#callback_url ⇒ Object
Over-ride callback_url definition to maintain compatibility with omniauth-oauth2 >= 1.4.0.
- #raw_info ⇒ Object
Instance Method Details
#callback_url ⇒ Object
Over-ride callback_url definition to maintain compatibility with omniauth-oauth2 >= 1.4.0
61 62 63 64 |
# File 'lib/omniauth/strategies/authentiq.rb', line 61 def callback_url # Fixes regression in omniauth-oauth2 v1.4.0 by https://github.com/intridea/omniauth-oauth2/commit/85fdbe117c2a4400d001a6368cc359d88f40abc7 [:callback_url] || (full_host + script_name + callback_path) end |
#raw_info ⇒ Object
53 54 55 |
# File 'lib/omniauth/strategies/authentiq.rb', line 53 def raw_info @raw_info ||= access_token.get('/userinfo').parsed end |