This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2022-08-01 21:05:58 +00:00
|
|
|
version: 1
|
2022-08-02 22:05:49 +00:00
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
blueprints.goauthentik.io/system: "true"
|
|
|
|
name: System - Proxy Provider - Scopes
|
2022-08-01 21:05:58 +00:00
|
|
|
entries:
|
|
|
|
- identifiers:
|
|
|
|
managed: goauthentik.io/providers/proxy/scope-proxy
|
2022-08-08 18:38:42 +00:00
|
|
|
model: authentik_providers_oauth2.scopemapping
|
2022-08-01 21:05:58 +00:00
|
|
|
attrs:
|
|
|
|
name: "authentik default OAuth Mapping: Proxy outpost"
|
|
|
|
scope_name: ak_proxy
|
2022-08-09 15:51:28 +00:00
|
|
|
description: authentik Proxy - User information
|
2022-08-01 21:05:58 +00:00
|
|
|
expression: |
|
|
|
|
# This mapping is used by the authentik proxy. It passes extra user attributes,
|
|
|
|
# which are used for example for the HTTP-Basic Authentication mapping.
|
|
|
|
return {
|
|
|
|
"ak_proxy": {
|
|
|
|
"user_attributes": request.user.group_attributes(request),
|
|
|
|
"is_superuser": request.user.is_superuser,
|
|
|
|
}
|
|
|
|
}
|