-
Notifications
You must be signed in to change notification settings - Fork 326
Authentication Strategies
brylie edited this page Nov 12, 2014
·
12 revisions
The API Umbrella configuration has the following authentication strategies.
auth_strategies:
enabled:
- github
- google
- persona
The omniauth library, used by API Umbrella, supports many more authentication strategies.
Each authentication strategy has specific considerations.
The Github authentication strategy needs the following information:
- client_id
- client_secret
To set up the Google authentication strategy:
- Review and follow the Github API Basics of Authentication
- The Homepage URL should be: <your-domain.com>
- The Authorization callback URL on the Github OAuth Application Settings should be: (See issue #46)
- Add your
client_id
andclient_secret
to the api-umbrella.yml - Restart API Umbrella
The Google authentication strategy needs the following information:
- client_id
- client_secret
To set up the Google authentication strategy:
- Review and follow the Google OAuth for Login documentation
- The Redirect URIs on the Google Developers Console should be: (See issue #44)
- The Javascript Origins should be: <your-domain.com>
- Add your
client_id
andclient_secret
to the api-umbrella.yml - Restart API Umbrella