We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Code Flow would be the most basic flow to get an access token for server-side apps.
# Authorization Request authorization_uri = client.authorization_uri( scope: [:profile, :email] ) `open "#{authorization_uri}"` # Authorization Response puts "# Authorization Code" code = gets.strip # Token Request client.authorization_code = code client.access_token! # => Rack::OAuth2::AccessToken::Bearer (or other Rack::OAuth2::AccessTokens subclass)