Files
homebrewery-oidc/docker/authentik/blueprints/homebrewery.yaml
T

54 lines
1.8 KiB
YAML

version: 1
metadata:
name: Homebrewery Dev
entries:
- model: authentik_blueprints.metaapplyblueprint
attrs:
identifiers:
name: Default - Provider authorization flow (implicit consent)
required: true
- model: authentik_blueprints.metaapplyblueprint
attrs:
identifiers:
name: Default - Provider invalidation flow
required: true
- model: authentik_blueprints.metaapplyblueprint
attrs:
identifiers:
name: System - OAuth2 Provider - Scopes
required: true
- model: authentik_core.user
identifiers:
username: testuser
attrs:
name: Test User
email: testuser@example.test
password: testuser-dev
is_active: true
- model: authentik_providers_oauth2.oauth2provider
id: provider
identifiers:
name: homebrewery
attrs:
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
client_type: confidential
client_id: homebrewery
client_secret: dev-only-client-secret
redirect_uris:
- matching_mode: regex
url: http://localhost:8000/.*
- matching_mode: regex
url: http://homebrewery.local.naturalcrit.com:8000/.*
signing_key: !Find [authentik_crypto.certificatekeypair, [name, authentik Self-signed Certificate]]
property_mappings:
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, openid]]
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, profile]]
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, email]]
- model: authentik_core.application
identifiers:
slug: homebrewery
attrs:
name: Homebrewery
provider: !KeyOf provider