Skip to content

A sample OAuth 2 Provider application using Rails 3.2, Devise and Devise OAuth 2 Providable

Notifications You must be signed in to change notification settings

ZenCocoon/testoauth2provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2 Provider Test Application

A sample OAuth 2 Provider application using Rails 3.2, Devise and Devise OAuth 2 Providable

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 Provider application using Rails 3.2, Devise and Devise OAuth 2 Providable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages