Skip to content

AlunYou/omniauth-oxygen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omniauth::Oxygen

An Omniauth strategy for Autodesk accounts.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-oxygen', :git => 'git://github.com/ljinke/omniauth-oxygen.git'

And then execute:

$ bundle install

Usage

Ruby on Rails:

In development.rb, add

config.middleware.use OmniAuth::Builder do
  provider :oxygen, :env => "staging"
end

or in production.rb, add

config.middleware.use OmniAuth::Builder do
  provider :oxygen, :env => "production"
end

Run the example

Update /etc/hosts:

 127.0.1.1 mycloud-staging.autodesk.com

Go to the examples folder:

 $ ruby sinatra.rb

Visit http://mycloud-staging.autodesk.com:4567

About

omniauth for autodesk id

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%