Skip to content

Commit 2dd0246

Browse files
committed
add authentik blueprint
1 parent 4852a7d commit 2dd0246

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

hack/authentik/blueprints/cli.yaml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
2+
version: 1
3+
metadata:
4+
name: authentik CLI
5+
entries:
6+
- model: authentik_providers_oauth2.oauth2provider
7+
id: provider
8+
identifiers:
9+
name: authentik-cli
10+
attrs:
11+
authorization_flow:
12+
!Find [
13+
authentik_flows.flow,
14+
[slug, default-provider-authorization-implicit-consent],
15+
]
16+
invalidation_flow:
17+
!Find [
18+
authentik_flows.flow,
19+
[slug, default-provider-invalidation-flow],
20+
]
21+
client_type: public
22+
client_id: authentik-cli
23+
redirect_uris:
24+
- matching_mode: strict
25+
url: http://localhost:3000/login/generic_oauth
26+
property_mappings:
27+
- !Find [
28+
authentik_providers_oauth2.scopemapping,
29+
[managed, goauthentik.io/providers/oauth2/scope-openid],
30+
]
31+
- !Find [
32+
authentik_providers_oauth2.scopemapping,
33+
[managed, goauthentik.io/providers/oauth2/scope-email],
34+
]
35+
- !Find [
36+
authentik_providers_oauth2.scopemapping,
37+
[managed, goauthentik.io/providers/oauth2/scope-profile],
38+
]
39+
- !Find [
40+
authentik_providers_oauth2.scopemapping,
41+
[managed, goauthentik.io/providers/oauth2/scope-offline_access],
42+
]
43+
signing_key:
44+
!Find [
45+
authentik_crypto.certificatekeypair,
46+
[name, authentik Self-signed Certificate],
47+
]
48+
- model: authentik_core.application
49+
identifiers:
50+
slug: authentik-cli
51+
attrs:
52+
name: authentik CLI
53+
provider: !KeyOf provider
54+
icon: https://goauthentik.io/img/icon.png

0 commit comments

Comments
 (0)