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.
Including basic services to manipulate them. The
service account is managed as part of the ScimClient's lifecycle.
We make sure to revoke non-chosen authentication methods with every update, so that it's not possible to keep authenticating through an outdated (and most likely UI-invisible) method anymore.
Ticket
https://community.openproject.org/work_packages/62516/activity
What are you trying to accomplish?
To process SCIM requests we need to authenticate an entity during the corresponding API requests. This must be possible via three high-level methods:
Doorkeeper::Application
Which approach did you choose and why?
The ScimClient is the central entity to configure settings around a configured SCIM client. It's related to a user (new subtype
ServiceAccount
) and optionally an oauth application. The service account is the authenticated entity. In this model we can cover all three authentication modes:identity_url
to the service accountDoorkeeper::Application
that uses the service account as a client credentials userMerge checklist