Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hayesgm/omniauth-lightspeed

An OmniAuth strategy for Lightspeed's API
https://github.com/hayesgm/omniauth-lightspeed

Last synced: about 1 month ago
JSON representation

An OmniAuth strategy for Lightspeed's API

Awesome Lists containing this project

README

        

# OmniAuth Lightspeed Strategy

An OmniAuth Lightspeed Strategy. Does what it says on the box.

## Usage

```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :lightspeed, ENV['LIGHTSPEED_CLIENT_ID'], ENV['LIGHTSPEED_CLIENT_SECRET'], scope: 'employee:all'
end
```

## TODO

* Support situation where an access token can have access to more than one account.
* Determine if the above is even possible.

## I found a bug!

1. Pull requests are welcome.
2. OR: Provide steps to reproduce the bug in a new issue.