Class: Auth::LinkedInOidcAuthenticator::LinkedInOidc

Inherits:
OmniAuth::Strategies::OAuth2
  • Object
show all
Defined in:
lib/auth/linkedin_oidc_authenticator.rb

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



29
30
31
# File 'lib/auth/linkedin_oidc_authenticator.rb', line 29

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



33
34
35
# File 'lib/auth/linkedin_oidc_authenticator.rb', line 33

def raw_info
  @raw_info ||= access_token.get(profile_endpoint).parsed
end