wekan sso blueprint
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3f6bfdb280
commit
598807fe6d
|
@ -56,3 +56,9 @@ COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/"
|
|||
# SECRET_MATRIX_ID_VERSION=v1
|
||||
# SECRET_MATRIX_SECRET_VERSION=v1
|
||||
# APP_ICONS="$APP_ICONS matrix:~/.abra/recipes/authentik/icons/matrix.svg"
|
||||
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.wekan.yml"
|
||||
# WEKAN_DOMAIN=wekan.example.com
|
||||
# SECRET_WEKAN_ID_VERSION=v1
|
||||
# SECRET_WEKAN_SECRET_VERSION=v1
|
||||
# APP_ICONS="$APP_ICONS wekan:~/.abra/recipes/authentik/icons/wekan.png"
|
||||
|
|
1
abra.sh
1
abra.sh
|
@ -8,6 +8,7 @@ export SYSTEM_TENANT_VERSION=v1
|
|||
export NEXTCLOUD_CONFIG_VERSION=v1
|
||||
export WORDPRESS_CONFIG_VERSION=v1
|
||||
export MATRIX_CONFIG_VERSION=v1
|
||||
export WEKAN_CONFIG_VERSION=v1
|
||||
|
||||
customize() {
|
||||
if [ -z "$1" ]
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
worker:
|
||||
secrets:
|
||||
- wekan_id
|
||||
- wekan_secret
|
||||
environment:
|
||||
- WEKAN_DOMAIN
|
||||
configs:
|
||||
- source: wekan
|
||||
target: /blueprints/wekan.yaml
|
||||
|
||||
secrets:
|
||||
wekan_id:
|
||||
external: true
|
||||
name: ${STACK_NAME}_wekan_id_${SECRET_WEKAN_ID_VERSION}
|
||||
wekan_secret:
|
||||
external: true
|
||||
name: ${STACK_NAME}_wekan_secret_${SECRET_WEKAN_SECRET_VERSION}
|
||||
|
||||
|
||||
configs:
|
||||
wekan:
|
||||
name: ${STACK_NAME}_wekan_${WEKAN_CONFIG_VERSION}
|
||||
file: wekan.yaml.tmpl
|
||||
template_driver: golang
|
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
|
@ -0,0 +1,43 @@
|
|||
version: 1
|
||||
metadata:
|
||||
labels:
|
||||
blueprints.goauthentik.io/instantiate: "true"
|
||||
name: wekan
|
||||
|
||||
entries:
|
||||
|
||||
- attrs:
|
||||
access_code_validity: minutes=1
|
||||
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
|
||||
client_id: {{ secret "wekan_id" }}
|
||||
client_secret: {{ secret "wekan_secret" }}
|
||||
client_type: confidential
|
||||
include_claims_in_id_token: true
|
||||
issuer_mode: per_provider
|
||||
name: Wekan
|
||||
property_mappings:
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, openid]]
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, email]]
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, profile]]
|
||||
signing_key: !Find [authentik_crypto.certificatekeypair, [name, authentik Self-signed Certificate]]
|
||||
sub_mode: user_username
|
||||
token_validity: days=30
|
||||
conditions: []
|
||||
id: wekan_provider
|
||||
identifiers:
|
||||
pk: 9996
|
||||
model: authentik_providers_oauth2.oauth2provider
|
||||
state: present
|
||||
|
||||
- attrs:
|
||||
meta_launch_url: https://{{ env "WEKAN_DOMAIN" }}
|
||||
open_in_new_tab: true
|
||||
policy_engine_mode: any
|
||||
provider: !KeyOf wekan_provider
|
||||
slug: wekan
|
||||
conditions: []
|
||||
id: wekan_application
|
||||
identifiers:
|
||||
name: Wekan
|
||||
model: authentik_core.application
|
||||
state: present
|
Loading…
Reference in New Issue