You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For unknown reasons, Scope Mapping has stopped adding/updating itself during initialization through a Blueprint file.
Example:
version: 1metadata:
name: "Init - TestService - Applications & OIDC"entries:
# Scopes
- identifiers:
managed: goauthentik.io/providers/oauth2/scope-openidmodel: authentik_providers_oauth2.scopemappingattrs:
name: "TestService default OAuth Mapping: OpenID 'openid'"scope_name: openidexpression: | # This scope is required by the OpenID spec and must exist in authentik. # The scope by itself does not grant any information return {}
- identifiers:
managed: goauthentik.io/providers/oauth2/scope-emailmodel: authentik_providers_oauth2.scopemappingattrs:
name: "TestService default OAuth Mapping: OpenID 'email'"scope_name: emaildescription: "Email address"expression: | return { "email": request.user.email, "email_verified": True }
- identifiers:
managed: goauthentik.io/providers/oauth2/scope-profilemodel: authentik_providers_oauth2.scopemappingattrs:
name: "TestService default OAuth Mapping: OpenID 'profile'"scope_name: profiledescription: "General Profile Information"expression: | return { # Since authentik only saves the user's full name and has no concept of first and last names, # the full name is used as the given name. # You can override this behavior in custom mappings, e.g., `request.user.name.split(" ")` "name": request.user.name, "given_name": request.user.name, "preferred_username": request.user.username, "nickname": request.user.username, "groups": [group.name for group in request.user.ak_groups.all()], }# ETC...
As you can see, this is the official template with the name changed, which I made solely for testing purposes. My custom files also don’t work—neither editing existing mappings nor creating new ones. My file also contained groups and providers, which were added, meaning that the file was processed.
If I click the "Run Blueprint" button manually in the dashboard, everything works perfectly.
For unknown reasons, Scope Mapping has stopped adding/updating itself during initialization through a Blueprint file.
Example:
As you can see, this is the official template with the name changed, which I made solely for testing purposes. My custom files also don’t work—neither editing existing mappings nor creating new ones. My file also contained groups and providers, which were added, meaning that the file was processed.
If I click the "Run Blueprint" button manually in the dashboard, everything works perfectly.
Environment: Docker Compose (Developer Configuration)
Version: 2024.12.1
The text was updated successfully, but these errors were encountered: