Sha256: 8dd648b87baf31fd4b00b24c752dd5896d69982158d16f9e5ac344f82b6f730d

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 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).

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

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-auth0-1.0.1 README.md
omniauth-auth0-1.0.0 README.md