Generic OIDC provider #337
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Packeton currently supports a predefined list of OAuth providers (GitHub,
GitLab, Gitea, Bitbucket, Google). Organizations using identity providers
like Authentik, Keycloak, Azure AD, or Okta cannot integrate without
writing custom code.
This adds a generic OIDC provider that leverages OpenID Connect Discovery
to automatically configure endpoints from the issuer URL. The provider:
simpler alternative to login_control_expression for role assignment
The role mapping feature addresses a common need where organizations want
to assign Packeton roles based on IdP group membership. Users in 'packeton-admins'
group can automatically receive ROLE_ADMIN, for example.
This is a login-only provider following the Google provider pattern,
as repository synchronization requires provider-specific APIs.
As suggested in #323 (comment)