Class: OmniAuth::Strategies::Webflow
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Webflow
- Defined in:
- lib/omniauth/strategies/webflow.rb
Instance Method Summary collapse
-
#callback_url ⇒ Object
The Webflow API requires the redirect_uri to match exactly what you have in your Webflow Application settings This method ensures any query params are removed before the build_access_token step occurs.
- #raw_info ⇒ Object
Instance Method Details
#callback_url ⇒ Object
The Webflow API requires the redirect_uri to match exactly what you have in your Webflow Application settings This method ensures any query params are removed before the build_access_token step occurs
36 37 38 |
# File 'lib/omniauth/strategies/webflow.rb', line 36 def callback_url full_host + callback_path end |
#raw_info ⇒ Object
30 31 32 |
# File 'lib/omniauth/strategies/webflow.rb', line 30 def raw_info @raw_info ||= access_token.get('https://api.webflow.com/v2/token/introspect').parsed end |