feat: add blueprints for authentik ldap outpost and render values directly instead of using env vars
Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
d25f1c5304
commit
e819770415
11 changed files with 312 additions and 53 deletions
|
|
@ -15,12 +15,12 @@ entries:
|
|||
name: "{{ item.name | default('Microsoft Entra ID') }}"
|
||||
slug: {{ item.slug }}
|
||||
|
||||
# Authentik’s OAuth sources support vendor-specific types.
|
||||
# Entra guide calls it “Entra ID OAuth Source”.
|
||||
# Authentik's OAuth sources support vendor-specific types.
|
||||
# Entra guide calls it "Entra ID OAuth Source".
|
||||
provider_type: entraid
|
||||
|
||||
consumer_key: !Env {{ item.client_id_env }}
|
||||
consumer_secret: !Env {{ item.client_secret_env }}
|
||||
consumer_key: "{{ item.client_id }}"
|
||||
consumer_secret: "{{ item.client_secret }}"
|
||||
|
||||
scopes:
|
||||
{% for s in (item.scopes | default(['openid','profile','email'])) %}
|
||||
|
|
@ -28,10 +28,10 @@ entries:
|
|||
{% endfor %}
|
||||
|
||||
{% if (item.tenant_mode | default('single')) == 'single' %}
|
||||
authorization_url: !Format ["https://login.microsoftonline.com/%s/oauth2/v2.0/authorize", !Env {{ item.tenant_id_env }}]
|
||||
access_token_url: !Format ["https://login.microsoftonline.com/%s/oauth2/v2.0/token", !Env {{ item.tenant_id_env }}]
|
||||
authorization_url: "https://login.microsoftonline.com/{{ item.tenant_id }}/oauth2/v2.0/authorize"
|
||||
access_token_url: "https://login.microsoftonline.com/{{ item.tenant_id }}/oauth2/v2.0/token"
|
||||
profile_url: "https://graph.microsoft.com/v1.0/me"
|
||||
oidc_jwks_url: !Format ["https://login.microsoftonline.com/%s/discovery/v2.0/keys", !Env {{ item.tenant_id_env }}]
|
||||
oidc_jwks_url: "https://login.microsoftonline.com/{{ item.tenant_id }}/discovery/v2.0/keys"
|
||||
{% else %}
|
||||
authorization_url: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
|
||||
access_token_url: "https://login.microsoftonline.com/common/oauth2/v2.0/token"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue