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

oAuth2 Authorization token flow improvements #1565

Open
m-schrepel opened this issue Jul 1, 2024 · 1 comment
Open

oAuth2 Authorization token flow improvements #1565

m-schrepel opened this issue Jul 1, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@m-schrepel
Copy link

m-schrepel commented Jul 1, 2024

Please describe feature/problem details and the solution you'd like.
We use a custom authorization header instead of Authorization, which means when we use the oAuth2 flow, we have to manually copy and paste the token to an environment variable.

A possible solution would be: Allow for defining a header other than Authorization in the advanced part of the oauth2 flow.

Another solution would be to make the post-request scripts work with the authorization requests. This way we could set a dynamic variable in memory.

Describe alternatives you've considered
I tried something like this

tc.request.setHeader('Custom-Header', tc.request.getHeader('Authorization'))

which also doesn't work and would be another viable solution to our issue

Are you using the free version/paid version/trial:
Enterprise customer

@m-schrepel m-schrepel added the feature request New feature or request label Jul 1, 2024
@rangav
Copy link
Collaborator

rangav commented Jul 1, 2024

Thanks @m-schrepel for the feedback. I will review and add to the roadmap.

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

No branches or pull requests

2 participants