Sha256: 94cffa4cda107268b9134d901d6ef9902afbc1d7af35461fbdc16a8422069ec1

Contents?: true

Size: 926 Bytes

Versions: 2

Compression:

Stored size: 926 Bytes

Contents

# OmniAuth Auth0

This is the official OmniAuth strategy for authenticating to Auth0. To
use it, you'll need to sign up for an OAuth2 Application ID and Secret
on the [Auth0 Page](https://app.auth0.com).

## 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

2 entries across 2 versions & 1 rubygems

Version Path
auth0-1.0.0 README.md
auth0-0.1.2 README.md