Skip to content

A sample OAuth 2 Client application using Rails 3.2 and OmniAuth 1.0

Notifications You must be signed in to change notification settings

goofrider/testoauth2client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2 Client Test Application

A sample OAuth 2 Client application using Rails 3.2 and OmniAuth 1.0

Heavily based on http://railscasts.com/episodes/241-simple-omniauth

Apps & Gems sources

Live Applications

Testing in local

To test it in local, you will need to register the new client application on the provider application like follow

Devise::Oauth2Providable::Client.create(
  :name => 'Test App',
  :redirect_uri => 'http://0.0.0.0:3000/auth/testoauth2strategy/callback',
  :website => 'http://0.0.0.0:3000'
)

You will then need to use the generated identifier and secret in the client application's omniauth initializer.

About

A sample OAuth 2 Client application using Rails 3.2 and OmniAuth 1.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.3%
  • Perl 1.4%
  • Shell 0.3%