akvo / akvo-lumen

Make sense of your data
https://akvo.org/akvo-lumen
GNU Affero General Public License v3.0
63 stars 18 forks source link

Scheduled update to Flow datasets #1019

Closed iperdomo closed 4 years ago

iperdomo commented 7 years ago

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

iperdomo commented 7 years ago

Sample POC of how this could work: tokens.tar.gz

stale[bot] commented 4 years ago

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.