-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EOEPCA/IAM] Evaluate Delegated Access Approaches #84
Comments
A possible way to go could be the use of offline tokens. Some thoughts about them: Properties of offline tokens:
Limitations:
Recommendations:
|
Further considerations and evaluation results regarding offline tokens:
|
Proposed way to obtain and manage an offline token (may still be inaccurate or incomplete!):
|
Conclusion: |
This is a simplified sequence diagram for offline token retrieval. It is assumed that the user has already interacted with the master service before and is already authenticated. At some point, the master service recognizes that an offline token will be required, notifies the user about this and asks him for confirmation. This confirmation, represented by the The following diagram sketches the use of the offline token. The user is not involved here any more. Instead, the process is initiated by the master service. It loads the offline token it previously stored and exchanges it for an access token via Keycloak's token endpoint. It then calls some action on the slave service with the access token attached. The slave service validates the token via Keycloak, does something useful and sends a response to the master service. |
Delegated access is needed in several scenarios in EOEPCA, typically in conjunction with long-lived processes.
For example, a user may issue a processing request to the Processing BB. The Processing BB initially queues the request for a while, waiting for resources to become available. It then executes the processing job, which may also take a while (hours, days, ...). Finally the Processing BB delegates to the Workspace BB in order to store the processing result in the user's workspace.
Assumptions and Challenges:
The text was updated successfully, but these errors were encountered: