Skip to content

SyncedPSI/omniauth-synced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth SYNCED

This is the official OmniAuth strategy for authenticating to SYNCED.

Usage

use OmniAuth::Builder do
  provider :synced, ENV['SYNCED_KEY'], ENV['SYNCED_SECRET']
end

Change the client options

use OmniAuth::Builder do
  provider :synced, ENV['SYNCED_KEY'], ENV['SYNCED_SECRET'], {
    client_options: {
      site: 'YOUR_SITE_ADDRESS',
      authorize_url: 'YOUR_AUTHORIZE_URL',
      token_url: 'YOUR_TOKEN_URL'
    }
  }
end

About

omniauth with synced

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published