StackStorm/st2

Ability to add a bearer token for authorization for st2client

Opened this issue · 1 comments

With the introduction of Stackstorm-k8s, comes features of systems like Google with IAP. I want to be able to use st2client with IAP , to do this there needs to be the ability to add a header to all requests , an Authorization header with a bearer token that can be retrieved via gcloud commands.

Authorization: Bearer $token

It would be super nice if this is something that someone might be able to add, I am going to look into doing so however.

This might be a moot thing, I tried doing this only to realize that st2auth transforms said header and tries to use it for authorization to Stackstorm, which would not allow for this to work anyway.