-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
hi @jpjpjp Would be able to share your OpenAPI and Portman config, so that we can try to reproduce the behaviour? |
Beta Was this translation helpful? Give feedback.
-
With pleasure, @thim81. Attached are simplified versions of both, which I was able to use to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
We got a PR in the making that should handle the special "Authorization" header better. Long story short: within Postman the "Authorization" header is generated based on the Postman authentication option (if they are used). So we will add the behaviour that handles the removal based on:
In your case:
Will set the Postman Authentication option to "noauth", which will unset the header. We are in the process of adding the necessary test and using your provided config to validate the improvements. |
Beta Was this translation helpful? Give feedback.
-
@jpjpjp This is the result of using your provided config with the changes from the PR: I think that this is the expected result? I'll do some more validation and than it will be ready to be included in the next release. |
Beta Was this translation helpful? Give feedback.
Hi @jpjpjp,
We just released Portman v1.27.0, which includes all your README suggestions and improvements for handling the "Authorization" overwrite properly.
Thanks for your clear feedback, which helped us reproduce the behavior and improve the logic in Portman.
We always appreciate feedback and suggestions, so don't hesitate to share them.