Lifetime of auth tokens limiting workflow execution runtime #52
Labels
priority: medium
Medium priority
status flag: help wanted
Extra attention is needed
type: auth
Related to authorization or authentication
workload: days
Likely takes days to resolve
Is your feature request related to a problem? Please describe.
Current support for the OAuth2 implicit flow authorization scheme, handling authorization from
WES-ELIXIR
viacwl-tes
toTESK
is limited by the duration of validity of the issues tokens (e.g., 60 minutes for ELIXIR AAI). In other words: Workflows with runtimes exceeding one hour cannot currently be run in an AAI-secured setup.Describe the solution you'd like
Support for refresh tokens should be added to
WES-ELIXIR
to allow negotation of new authorization tokens. For ELIXIR AAI, a refresh token can be obtained by requesting a token with anoffline_token
scope. In order to be able to do that,WES-ELIXIR
first needs to be registered as a client with the identity provider/broker.Describe alternatives you've considered
N/A at this time.
Additional context
WES-ELIXIR
should solve the problem in a test environment, it is likely not by itself a tenable solution in a real-world scenario where authentication would likely take place in a user-facing web service, not insideWES-ELIXIR
. A way to "pass the refresh token" (or equivalent) would thus need to be found, possibly by using OpenID Connect hybrid flow.The text was updated successfully, but these errors were encountered: