Instruct selection of only necessary SSO scopes.

Standardize instructions of adding app to settings.
This commit is contained in:
Adarnof 2018-03-02 01:52:16 -05:00
parent 814ecd233e
commit 5331d194df
11 changed files with 14 additions and 37 deletions

View File

@ -35,7 +35,8 @@ DATABASES['default'] = {
# Register an application at https://developers.eveonline.com for Authentication # Register an application at https://developers.eveonline.com for Authentication
# & API Access and fill out these settings. Be sure to set the callback URL # & API Access and fill out these settings. Be sure to set the callback URL
# to https://example.com/sso/callback substituting your domain for example.com # to https://example.com/sso/callback substituting your domain for example.com
# Select publicData and all available scopes starting with esi- # Logging in to auth requires the publicData scope (can be overridden through the
# LOGIN_TOKEN_SCOPES setting). Other apps may require more (see their docs).
ESI_SSO_CLIENT_ID = '' ESI_SSO_CLIENT_ID = ''
ESI_SSO_CLIENT_SECRET = '' ESI_SSO_CLIENT_SECRET = ''
ESI_SSO_CALLBACK_URL = '' ESI_SSO_CALLBACK_URL = ''

View File

@ -10,7 +10,7 @@ Auto groups allows you to automatically place users of certain states into Corp
## Installation ## Installation
Add `allianceauth.eveonline.autogroups` to your `INSTALLED_APPS` and run migrations. All other settings are controlled via the admin panel under the `Eve_Autogroups` section. Add `'allianceauth.eveonline.autogroups',` to your `INSTALLED_APPS` list and run migrations. All other settings are controlled via the admin panel under the `Eve_Autogroups` section.
## Configuring a group ## Configuring a group

View File

@ -4,11 +4,9 @@ This module is used to check the registration status of corp members and to dete
## Installation ## Installation
Add `allianceauth.corputils` to your `INSTALLED_APPS` setting and run migrations. In `myauth/settings/local.py`: Corp Stats requires access to the `esi-corporations.read_corporation_membership.v1` SSO scope. Update your application on the [EVE Developers site](https://developers.eveonline.com) to ensure it is available.
INSTALLED_APPS += ['allianceauth.corputils'] Add `'allianceauth.corputils',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
Run migrations to complete installation.
## Creating a Corp Stats ## Creating a Corp Stats

View File

@ -2,8 +2,6 @@
## Installation ## Installation
Add `allianceauth.fleetactivitytracking` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Fleet Activity Tracking requires access to the `esi-location.read_location.v1`, `esi-location.read_ship_type.v1`, and `esi-universe.read_structures.v1` SSO scopes. Update your application on the [EVE Developers site](https://developers.eveonline.com) to ensure these are available.
INSTALLED_APPS += ['allianceauth.fleetactivitytracking'] Add `'allianceauth.fleetactivitytracking',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
Run migrations to complete installation.

View File

@ -2,9 +2,7 @@
## Installation ## Installation
Add `allianceauth.fleetup` to your auth project's `INSTALLED_APPS` setting. Add `'allianceauth.fleetup',` to your auth project's `INSTALLED_APPS` list.
INSTALLED_APPS += ['allianceauth.fleetup']
Additional settings are required. Append the following settings to the end of your auth project's settings file and fill them out. Additional settings are required. Append the following settings to the end of your auth project's settings file and fill them out.

View File

@ -2,11 +2,7 @@
## Installation ## Installation
Add `allianceauth.hrapplications` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Add `'allianceauth.hrapplications',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
INSTALLED_APPS += ['allianceauth.hrapplications']
Run migrations to complete installation.
## Management ## Management

View File

@ -2,8 +2,4 @@
## Installation ## Installation
Add `allianceauth.optimer` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Add `'allianceauth.optimer',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
INSTALLED_APPS += ['allianceauth.optimer']
Run migrations to complete installation.

View File

@ -9,9 +9,7 @@ Access to most of Alliance Auth's features are controlled by Django's permission
## Installation ## Installation
Add `allianceauth.permissions_tool` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Add `'allianceauth.permissions_tool',` to your `INSTALLED_APPS` list in your auth project's settings file.
INSTALLED_APPS += ['allianceauth.permissions_tool']
## Usage ## Usage

View File

@ -2,8 +2,4 @@
## Installation ## Installation
Add `allianceauth.srp` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Add `'allianceauth.srp',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
INSTALLED_APPS += ['allianceauth.srp']
Run migrations to complete installation.

View File

@ -2,8 +2,4 @@
## Installation ## Installation
Add `allianceauth.timerboard` to your `INSTALLED_APPS` setting. In `myauth/settings/local.py`: Add `'allianceauth.timerboard',` to your `INSTALLED_APPS` list in your auth project's settings file. Run migrations to complete installation.
INSTALLED_APPS += ['allianceauth.timerboard']
Run migrations to complete installation.

View File

@ -1,4 +1,4 @@
# Apache Setup # Apache
## Overview ## Overview