2022-08-05 22:52:12 +00:00
|
|
|
version: 1
|
2022-08-02 22:05:49 +00:00
|
|
|
metadata:
|
|
|
|
name: Default - Source authentication flow
|
2022-07-31 15:11:44 +00:00
|
|
|
entries:
|
|
|
|
- attrs:
|
|
|
|
designation: authentication
|
|
|
|
name: Welcome to authentik!
|
|
|
|
title: Welcome to authentik!
|
2022-12-02 15:14:25 +00:00
|
|
|
authentication: require_unauthenticated
|
2022-07-31 15:11:44 +00:00
|
|
|
identifiers:
|
|
|
|
slug: default-source-authentication
|
|
|
|
model: authentik_flows.flow
|
|
|
|
id: flow
|
|
|
|
- attrs:
|
|
|
|
expression: |
|
|
|
|
# This policy ensures that this flow can only be used when the user
|
|
|
|
# is in a SSO Flow (meaning they come from an external IdP)
|
|
|
|
return ak_is_sso_flow
|
|
|
|
identifiers:
|
|
|
|
name: default-source-authentication-if-sso
|
|
|
|
id: default-source-authentication-if-sso
|
|
|
|
model: authentik_policies_expression.expressionpolicy
|
|
|
|
- attrs:
|
|
|
|
session_duration: seconds=0
|
|
|
|
identifiers:
|
|
|
|
name: default-source-authentication-login
|
|
|
|
id: default-source-authentication-login
|
|
|
|
model: authentik_stages_user_login.userloginstage
|
2022-08-05 22:52:12 +00:00
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
order: 0
|
|
|
|
stage: !KeyOf default-source-authentication-login
|
|
|
|
target: !KeyOf flow
|
|
|
|
model: authentik_flows.flowstagebinding
|
2022-08-05 22:52:12 +00:00
|
|
|
- identifiers:
|
2022-07-31 15:11:44 +00:00
|
|
|
order: 0
|
|
|
|
policy: !KeyOf default-source-authentication-if-sso
|
|
|
|
target: !KeyOf flow
|
|
|
|
model: authentik_policies.policybinding
|