-
Notifications
You must be signed in to change notification settings - Fork 5
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
Forward HTTP-Header (e.g. user credentials) to stagein and stageout #17
Comments
Hi @rconway, as discussed yesterday here a short description of our current workaround to overcome above issue: We have implemented a small reverse proxy in front of ADES. Any API request to ADES is routed thru this proxy where
|
When you say forward the headers to stagein/out, what do you mean exactly? |
Yes, "forward" is referencing more to a generic concept than to an exact technical approach. Environment variables are one way to go (and probably the best), but there might be others too. My target requirement is, that stagein, stageout and (some) processors get access to the bearer token somehow without the user need to "help" by putting it twice in the request (header an body). |
We are running ADES in a OAuth protected environment, so the user need to provide a valid Bearer-Token to access ADES API. The token is transmitted in the "Authorization" HTTP-Header. That same token is required by stagein and stageout to read and write to our catalog and storage services on behalf of the user, so I'm looking for an option to forward the Authorization-header from ADES Rest API (POST //wps3/processes//jobs) to the stagein and stageout.
Is this already possible with ADES and how to configure this?
The text was updated successfully, but these errors were encountered: