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

Auth management for long running jobs #29

Open
soxofaan opened this issue Jan 13, 2022 · 0 comments
Open

Auth management for long running jobs #29

soxofaan opened this issue Jan 13, 2022 · 0 comments

Comments

@soxofaan
Copy link
Member

soxofaan commented Jan 13, 2022

When aggregator is managing a "large" job (e.g. split across multiple backends) it has to be able to act on behalf of the user "in the background" (outside of the context of a user API request).
Necessary access tokens might not be available or expire too quickly.

Possible solutions:

  • User also shares refresh token in addition to access token. This doesn't seem to fall in "best practices" category security-wise at first sight.
  • A new mechanism for longer term machine-to-machine authentication (e.g. someting like API tokens or SSH pubkey auth)
  • ...?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant