Skip to content

Conversation

@maybenotconnor
Copy link

Allow PROXY_ROLE_ASSIGNMENT_DRIVER to be set via environment variable in .env file, with oidc remaining as the default value.

I was frustrated that this was hard coded since my OIDC doesn't offer the complete roles scope, so I made it configurable to allow the default auto-assign.

   Allow PROXY_ROLE_ASSIGNMENT_DRIVER and GRAPH_ASSIGN_DEFAULT_USER_ROLE
   to be set via environment variables in .env file.

   - PROXY_ROLE_ASSIGNMENT_DRIVER defaults to oidc
   - GRAPH_ASSIGN_DEFAULT_USER_ROLE defaults to false

   When using PROXY_ROLE_ASSIGNMENT_DRIVER=default, set
   GRAPH_ASSIGN_DEFAULT_USER_ROLE=true to assign the 'user' role
   to new users.
@maybenotconnor maybenotconnor force-pushed the feat/configurable-proxy-role-assignment-driver branch from 28d9588 to 2512969 Compare January 3, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant