Fix blueprints
This commit is contained in:
parent
8a11275849
commit
1bfe7e3437
4 changed files with 79 additions and 16 deletions
|
|
@ -16,6 +16,15 @@ metadata:
|
|||
name: Kaboot Application Setup (Production)
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: "Complete Kaboot OAuth2/OIDC setup for production"
|
||||
blueprints.goauthentik.io/instantiate: "true"
|
||||
|
||||
depends_on:
|
||||
- default/flow-default-authentication-flow.yaml
|
||||
- default/flow-default-invalidation-flow.yaml
|
||||
- default/flow-default-provider-authorization-implicit-consent.yaml
|
||||
- default/flow-default-provider-invalidation.yaml
|
||||
- default/flow-default-user-settings-flow.yaml
|
||||
- system/providers-oauth2.yaml
|
||||
|
||||
context:
|
||||
kaboot_domain: kaboot.example.com
|
||||
|
|
@ -127,7 +136,7 @@ entries:
|
|||
scope_name: groups
|
||||
description: "Include user groups in the token"
|
||||
expression: |
|
||||
return [group.name for group in user.ak_groups.all()]
|
||||
return {"groups": [group.name for group in request.user.ak_groups.all()]}
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════════════════
|
||||
# OAUTH2/OIDC PROVIDER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue