Skip to content
OAuth2 Ruby Sample
Ruby HTML CSS JavaScript CoffeeScript
Branch: master
Clone or download
Latest commit 1bbc6c1 May 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
OAuth2 Update Gemfile.lock May 6, 2019
views update PRS widget Apr 19, 2018
.DS_Store OAuth2 Message Oct 3, 2017
LICENSE Initial commit Oct 3, 2017
README.md update PRS widget Apr 19, 2018

README.md

Sample Banner

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.
You can’t perform that action at this time.