Skip to content

Latest commit

 

History

25 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

仓库 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.

关于

OAuth2 Ruby Sample

Topics

Resources

Stars

13 stars

关注者

8 watching

复刻s

发布

Used by

贡献者

Languages