Class: OmniAuth::Strategies::Webflow

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/webflow.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject

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_infoObject



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