Closed iperdomo closed 4 years ago
Sample POC of how this could work: tokens.tar.gz
http://localhost:8080
akvo-lumen
public
http://localhost:3000/example
and http://localhost:3000/offline
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Context
The current solution to update a Flow dataset is via a manual user action. Click to a button. When this happen, we have a live session in our SSO service (Keycloak) and happens without any related to authenticated requests to the Flow API.
Problem or idea
When/If Lumen supports scheduled updates (every day at midnight) an offline token needs to be generated to perform requests to the Flow API on behalf of the user when she/he is not present.
Solution or next step