Sha256: 1c7e36fa5a6312f75a43af8b6eeab79c53a5eaca6bc4de8c339907483d58c8de
Contents?: true
Size: 927 Bytes
Versions: 1
Compression:
Stored size: 927 Bytes
Contents
# OmniAuth Auth0 This is the official OmniAuth strategy for authenticating to [Auth0](https://auth0.com). ## Installing Add to your `Gemfile`: ```ruby gem 'omniauth-auth0' ``` Then `bundle install`. ## Basic Usage ### Rails Rails.application.config.middleware.use OmniAuth::Builder do provider :auth0, ENV['CLIENT_ID'], ENV['CLIENT_SECRET'], ENV['YOUR_NAMESPACE'] end ### Sinatra use OmniAuth::Builder do provider :auth0, ENV['CLIENT_ID'], ENV['CLIENT_SECRET'], ENV['YOUR_NAMESPACE'] end > Optional you can set the `:provider_ignores_state` passing a fourth parameter. By default it is true. ## Connections You can authorize many connections through Auth0. Link to /auth/auth0?connection=<connection> ## Documentation For more information about [auth0](http://auth0.com) contact our [documentation page](http://docs.auth0.com/). ## License This client library is MIT licensed.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-auth0-1.0.2 | README.md |