Skip to content
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

Provide an example for using token-exchange grant type with Keycloak and SonataFlow #1432

Closed
ricardozanini opened this issue Aug 8, 2024 · 1 comment
Assignees
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow

Comments

@ricardozanini
Copy link
Member

The Token Exchange RFC might help users who need our workflows to act on behalf of resource owners. For example, Alice wants to call a workflow to access the Pet Store. The data retrieved by the Pet Store must be related and owned by Alice.

Alice can send a request to the workflow containing her access ID to the Pet Store but not the authentication secrets (e.g., username and password). The workflow will use its service token to exchange for a valid one representing Alice in the Pet Store before calling any REST functions to the resource service.

Resources:

@ricardozanini
Copy link
Member Author

Done in the draft PR.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🎯 Done in 🦉 KIE Podling Board Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow
Projects
Status: 🎯 Done
Development

No branches or pull requests

1 participant