authentik/README.md

107 lines
2.9 KiB
Markdown
Raw Normal View History

2022-04-13 10:04:03 +00:00
# authentik
[authentik](https://goauthentik.io/) is an open-source Identity Provider focused on flexibility and versatility
[List of all possible environment variables](https://goauthentik.io/docs/installation/configuration)
<!-- metadata -->
2022-04-13 10:54:50 +00:00
* **Category**: Apps
2022-04-13 10:04:03 +00:00
* **Status**: 0, work-in-progress
2022-12-20 15:02:12 +00:00
* **Image**: [ghcr/goauthentik/server](https://ghcr.io/goauthentik/server), 4, upstream
2022-04-13 10:04:03 +00:00
* **Healthcheck**: Yes
* **Backups**: Yes
* **Email**: Yes
* **Tests**: No
* **SSO**: Yes
<!-- endmetadata -->
## Quick start
2022-12-20 10:11:27 +00:00
* `abra app new authentik`
2022-04-13 10:04:03 +00:00
* `abra app config <app-name>`
* `abra app secret insert <app_name> email_pass v1 <password>`
2022-12-20 14:56:35 +00:00
* `abra app secret generate -a <app_name>`
2022-04-13 10:04:03 +00:00
* `abra app deploy <app-name>`
* `abra app cmd <app_name> app set_admin_pass`
* `abra app cmd <app_name> worker apply_blueprints`
## Rotate Secrets
2022-12-20 14:56:35 +00:00
Increment the secret versions using `abra app config <app_name>`
```
abra app secret generate -a <app_name>
abra app undeploy <app_name>
abra app deploy <app_name>
abra app cmd <app_name> db rotate_db_pass
abra app cmd <app_name> app set_admin_pass
```
2022-04-13 10:04:03 +00:00
## Customization
2022-12-20 10:11:27 +00:00
Place the files you want to overwrite in a directory `<assets_path>`.
Run `abra app config <app_name>` and define the env variable `COPY_ASSETS` in the following format:
2022-12-20 10:11:27 +00:00
```
"<source_file1>|<service>:<target_directory1> <source_file2>|<service>:<target_directory2> ...
```
For example:
2022-12-20 10:11:27 +00:00
```
2023-01-05 22:42:28 +00:00
COPY_ASSETS="flow_background.jpg|app:/web/dist/assets/images/"
COPY_ASSETS="$COPY_ASSETS icon_left_brand.svg|app:/web/dist/assets/icons/
COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/"
2022-12-20 10:11:27 +00:00
```
2022-12-20 10:11:27 +00:00
Run this command after every deploy/upgrade:
`abra app command --local <app-name> customize <assets_path>`
## Blueprints
Blueprint Dependency Requirements:
- Recovery with email verification
- Default - Password change flow
- Default - Authentication flow
- Custom Authentication Flow
- Default - Authentication flow
- Recovery with email verification
- Invitation Enrollment Flow
- Default - User settings flow
- Default - Authentication flow
- Default - Source enrollment flow
- Custom Invalidation Flow
- Default - Invalidation flow
- Flow Translations
- Recovery with email verification
- Default - Password change flow
- Default - User settings flow
- Default - Source enrollment flow
- Custom System Tenant
- Default - Tenant
- Recovery with email verification
Blueprint Dependency Graph:
5. Custom System Tenant
- Default - Tenant
4. Invitation Enrollment Flow
3. Flow Translations
- Default - User settings flow
- Default - Source enrollment flow
2. Custom Authentication Flow
1. Recovery with email verification
- Default - Authentication flow
- Default - Password change flow
6. Custom Invalidation Flow
- Default - Invalidation flow
2022-04-13 10:04:03 +00:00
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).