Skip to content

IntuitDeveloper/OAuth2_RubyOnRails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate your SampleYesNo

README

This app is mainly used to show logic how to implement OAuth 2 in Ruby on Rails.

  • Ruby version:
    The sample is tested on Ruby 2.4.2

  • System dependencies:
    The rails version is 5.1.4

  • Configuration and run
    1.Update your OAuth 2 configuration value at OAuth2_RubyOnRails/OAuth2/config/config.yml file.
    2.Update your Redirect URIs in your app.
    solarized dualmode 2.Put the whole directory to your server, and run "rails server"
    3.If you are using localhost, you can download ngrok at:https://ngrok.com/ and run "ngrok http 3000" (3000 is your port number)

  1. open a browser and go to the rail server host.