Compare commits

...

1 Commits

Author SHA1 Message Date
fc8a0cabe9 chore: publish 1.0.0+2022.10.1 release 2022-11-22 11:03:25 +01:00
6 changed files with 3782 additions and 1 deletions

View File

@ -0,0 +1,158 @@
version: 1
metadata:
labels:
blueprints.goauthentik.io/instantiate: "true"
name: Example - Recovery with email verification
entries:
- identifiers:
slug: default-recovery-flow
id: flow
model: authentik_flows.flow
attrs:
name: Default recovery flow
title: Reset your password
designation: recovery
- identifiers:
field_key: password
label: Password
id: prompt-field-password
model: authentik_stages_prompt.prompt
attrs:
type: password
required: true
placeholder: Password
order: 0
placeholder_expression: false
- identifiers:
field_key: password_repeat
label: Password (repeat)
id: prompt-field-password-repeat
model: authentik_stages_prompt.prompt
attrs:
type: password
required: true
placeholder: Password (repeat)
order: 1
placeholder_expression: false
- identifiers:
name: default-recovery-skip-if-restored
id: default-recovery-skip-if-restored
model: authentik_policies_expression.expressionpolicy
attrs:
expression: |
return request.context.get('is_restored', False)
- identifiers:
name: default-recovery-email
id: default-recovery-email
model: authentik_stages_email.emailstage
attrs:
use_global_settings: true
host: localhost
port: 25
username: ""
use_tls: false
use_ssl: false
timeout: 10
from_address: system@authentik.local
token_expiry: 30
subject: authentik
template: email/password_reset.html
activate_user_on_success: true
- identifiers:
name: default-recovery-user-write
id: default-recovery-user-write
model: authentik_stages_user_write.userwritestage
- identifiers:
name: default-recovery-identification
id: default-recovery-identification
model: authentik_stages_identification.identificationstage
attrs:
user_fields:
- email
- username
- identifiers:
name: default-recovery-user-login
id: default-recovery-user-login
model: authentik_stages_user_login.userloginstage
attrs:
session_duration: seconds=0
- identifiers:
name: Change your password
id: stages-prompt-password
model: authentik_stages_prompt.promptstage
attrs:
fields:
- !KeyOf prompt-field-password
- !KeyOf prompt-field-password-repeat
validation_policies: []
- identifiers:
target: !KeyOf flow
stage: !KeyOf default-recovery-identification
order: 10
model: authentik_flows.flowstagebinding
id: flow-binding-identification
attrs:
evaluate_on_plan: true
re_evaluate_policies: true
policy_engine_mode: any
invalid_response_action: retry
- identifiers:
target: !KeyOf flow
stage: !KeyOf default-recovery-email
order: 20
model: authentik_flows.flowstagebinding
id: flow-binding-email
attrs:
evaluate_on_plan: true
re_evaluate_policies: true
policy_engine_mode: any
invalid_response_action: retry
- identifiers:
pk: 1219d06e-2c06-4c5b-a162-78e3959c6cf0
target: !KeyOf flow
stage: !KeyOf stages-prompt-password
order: 30
model: authentik_flows.flowstagebinding
attrs:
evaluate_on_plan: true
re_evaluate_policies: false
policy_engine_mode: any
invalid_response_action: retry
- identifiers:
target: !KeyOf flow
stage: !KeyOf default-recovery-user-write
order: 40
model: authentik_flows.flowstagebinding
attrs:
evaluate_on_plan: true
re_evaluate_policies: false
policy_engine_mode: any
invalid_response_action: retry
- identifiers:
target: !KeyOf flow
stage: !KeyOf default-recovery-user-login
order: 100
model: authentik_flows.flowstagebinding
attrs:
evaluate_on_plan: true
re_evaluate_policies: false
policy_engine_mode: any
invalid_response_action: retry
- identifiers:
policy: !KeyOf default-recovery-skip-if-restored
target: !KeyOf flow-binding-identification
order: 0
model: authentik_policies.policybinding
attrs:
negate: false
enabled: true
timeout: 30
- identifiers:
policy: !KeyOf default-recovery-skip-if-restored
target: !KeyOf flow-binding-email
order: 0
model: authentik_policies.policybinding
attrs:
negate: false
enabled: true
timeout: 30

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,151 @@
context: {}
entries:
- attrs:
compatibility_mode: true
denied_action: message_continue
designation: enrollment
layout: stacked
name: Willkommen zur Heimatbund Cloud!
policy_engine_mode: any
title: Willkommen zur Heimatbund Cloud!
id: null
identifiers:
pk: 235f1d35-302e-426f-8875-bb75c40e8a96
slug: invitation-enrollment
model: authentik_flows.flow
- attrs:
field_key: password
label: Passwort
order: 300
placeholder: Passwort
required: true
type: password
id: null
identifiers:
pk: 872c7220-0c42-4cef-b21c-9896820d86a3
model: authentik_stages_prompt.prompt
- attrs:
field_key: username
label: Benutzername
order: 0
placeholder: Benutzername
required: true
type: username
id: null
identifiers:
pk: 8c7cca12-afd7-42f9-92b2-df06d29bc0b5
model: authentik_stages_prompt.prompt
- attrs:
field_key: name
label: Vor- und Nachname
order: 0
placeholder: Name
required: true
type: text
id: null
identifiers:
pk: 52777e44-cbe7-4187-abc3-7f44327e4577
model: authentik_stages_prompt.prompt
- attrs:
field_key: password_repeat
label: Passwort (wiederholung)
order: 301
placeholder: Passwort (wiederholung)
required: true
type: password
id: null
identifiers:
pk: 4c6820c2-711d-4450-b977-70d225c6cbd1
model: authentik_stages_prompt.prompt
- attrs:
field_key: email
label: Email
order: 1
placeholder: Email
required: true
type: email
id: null
identifiers:
pk: 0fd026ab-228a-4aff-adde-e566f1dcee6a
model: authentik_stages_prompt.prompt
- attrs:
fields:
- 872c7220-0c42-4cef-b21c-9896820d86a3
- 8c7cca12-afd7-42f9-92b2-df06d29bc0b5
- 52777e44-cbe7-4187-abc3-7f44327e4577
- 4c6820c2-711d-4450-b977-70d225c6cbd1
- 0fd026ab-228a-4aff-adde-e566f1dcee6a
id: null
identifiers:
name: default-enrollment-prompt-first
pk: b96f518c-6313-4091-8b52-20dd7557e868
model: authentik_stages_prompt.promptstage
- attrs: {}
id: null
identifiers:
name: invitation
pk: 9780069a-0f1d-4f0f-b7c4-4592a9cdb333
model: authentik_stages_invitation.invitationstage
- attrs: {}
id: null
identifiers:
name: default-enrollment-user-write
pk: 21667fc4-05b2-4b2f-8861-c8b40a6331b1
model: authentik_stages_user_write.userwritestage
- attrs:
session_duration: seconds=0
id: null
identifiers:
name: default-enrollment-user-login
pk: 6cdec92f-cd1f-40b1-b808-d6a5d50877ed
model: authentik_stages_user_login.userloginstage
- attrs:
evaluate_on_plan: true
invalid_response_action: retry
policy_engine_mode: any
id: null
identifiers:
order: 1
pk: eac283e8-2342-405e-a592-72b950f307c0
stage: 9780069a-0f1d-4f0f-b7c4-4592a9cdb333
target: 235f1d35-302e-426f-8875-bb75c40e8a96
model: authentik_flows.flowstagebinding
- attrs:
evaluate_on_plan: true
invalid_response_action: retry
policy_engine_mode: any
id: null
identifiers:
order: 10
pk: 56276785-e6f5-42c7-9201-e63ec44281aa
stage: b96f518c-6313-4091-8b52-20dd7557e868
target: 235f1d35-302e-426f-8875-bb75c40e8a96
model: authentik_flows.flowstagebinding
- attrs:
evaluate_on_plan: true
invalid_response_action: retry
policy_engine_mode: any
id: null
identifiers:
order: 20
pk: 471de0f4-3e03-4bc8-873d-689860dc9efb
stage: 21667fc4-05b2-4b2f-8861-c8b40a6331b1
target: 235f1d35-302e-426f-8875-bb75c40e8a96
model: authentik_flows.flowstagebinding
- attrs:
evaluate_on_plan: true
invalid_response_action: retry
policy_engine_mode: any
id: null
identifiers:
order: 100
pk: 58903955-e33a-4d9a-b882-edd93f4261f9
stage: 6cdec92f-cd1f-40b1-b808-d6a5d50877ed
target: 235f1d35-302e-426f-8875-bb75c40e8a96
model: authentik_flows.flowstagebinding
metadata:
labels:
blueprints.goauthentik.io/generated: 'true'
name: authentik Export - 2022-10-19 12:52:52.154491+00:00
version: 1

View File

@ -69,7 +69,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
- "coop-cloud.${STACK_NAME}.version=0.6.0+2022.10.1"
- "coop-cloud.${STACK_NAME}.version=1.0.0+2022.10.1"
worker:
image: ghcr.io/goauthentik/server:2022.10.1

15
releases/1.0.0+2022.10.1 Normal file
View File

@ -0,0 +1,15 @@
This upgrade replaces the passwords stored in env variables by docker secrets.
You need to insert the following passwords as secret:
`POSTGRES_PASSWORD` / `AUTHENTIK_POSTGRESQL__PASSWORD`:
`abra app secret insert <app_name> db_password v1 <password>`
`AUTHENTIK_SECRET_KEY`:
`abra app secret insert <app_name> secret_key v1 <password>`
`AK_ADMIN_TOKEN`:
`abra app secret insert <app_name> admin_token v1 <password>`
`AK_ADMIN_PASS`:
`abra app secret insert <app_name> admin_pass v1 <password>`
`AUTHENTIK_EMAIL__PASSWORD`:
`abra app secret insert <app_name> email_pass v1 <password>`
These variables should be removed from the .env file.