feat(authentik): Log in with Google only
This commit is contained in:
@@ -4,18 +4,11 @@ metadata:
|
|||||||
name: authentik-blueprints
|
name: authentik-blueprints
|
||||||
namespace: authentik
|
namespace: authentik
|
||||||
data:
|
data:
|
||||||
# Google is the only way in: its source has no enrollment flow, so a Google
|
|
||||||
# account can only log in when a user with the same email already exists.
|
|
||||||
google-login.yaml: |
|
google-login.yaml: |
|
||||||
version: 1
|
version: 1
|
||||||
metadata:
|
metadata:
|
||||||
name: Google login
|
name: Google login
|
||||||
entries:
|
entries:
|
||||||
- model: authentik_blueprints.metaapplyblueprint
|
|
||||||
attrs:
|
|
||||||
identifiers:
|
|
||||||
path: default/flow-default-authentication-flow.yaml
|
|
||||||
required: true
|
|
||||||
- model: authentik_blueprints.metaapplyblueprint
|
- model: authentik_blueprints.metaapplyblueprint
|
||||||
attrs:
|
attrs:
|
||||||
identifiers:
|
identifiers:
|
||||||
@@ -48,8 +41,29 @@ data:
|
|||||||
provider_type: google
|
provider_type: google
|
||||||
user_matching_mode: email_link
|
user_matching_mode: email_link
|
||||||
- model: authentik_stages_identification.identificationstage
|
- model: authentik_stages_identification.identificationstage
|
||||||
|
id: google-identification
|
||||||
identifiers:
|
identifiers:
|
||||||
name: default-authentication-identification
|
name: google-identification
|
||||||
attrs:
|
attrs:
|
||||||
sources:
|
sources:
|
||||||
- !KeyOf google
|
- !KeyOf google
|
||||||
|
user_fields: []
|
||||||
|
- model: authentik_flows.flow
|
||||||
|
id: google-flow
|
||||||
|
identifiers:
|
||||||
|
slug: google-login
|
||||||
|
attrs:
|
||||||
|
authentication: require_unauthenticated
|
||||||
|
designation: authentication
|
||||||
|
name: Google login
|
||||||
|
title: Welcome!
|
||||||
|
- model: authentik_flows.flowstagebinding
|
||||||
|
identifiers:
|
||||||
|
order: 10
|
||||||
|
stage: !KeyOf google-identification
|
||||||
|
target: !KeyOf google-flow
|
||||||
|
- model: authentik_brands.brand
|
||||||
|
identifiers:
|
||||||
|
domain: authentik-default
|
||||||
|
attrs:
|
||||||
|
flow_authentication: !KeyOf google-flow
|
||||||
|
|||||||
Reference in New Issue
Block a user