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

Ability to add a bearer token for authorization for st2client #6221

Open
cwilson21 opened this issue Jul 13, 2024 · 1 comment
Open

Ability to add a bearer token for authorization for st2client #6221

cwilson21 opened this issue Jul 13, 2024 · 1 comment

Comments

@cwilson21
Copy link

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.

@cwilson21
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant