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

Authorization header is not correctly refreshed in 'Http request ' section in Operation Details Widget #1933

Closed
cermakp opened this issue Sep 7, 2022 · 2 comments · Fixed by #1940
Labels
P1 High-priority issues. (t) Bug Bug reports (actual behavior is different than the expected behavior). (u) Test console Issues specific to the interactive try-it console.

Comments

@cermakp
Copy link

cermakp commented Sep 7, 2022

Authorization header is not correctly refreshed in 'Http request ' section in Operation Details Widget

Reproduction steps

  1. Select any Authorization option except No Auth - Authorization header is added to Headers section, it is correctly set up and Http request section show the header
    image

  2. Set Authorization to No Auth - Authorization header is not removed from Headers section, but it has empty value and Http Request preview section still contains it. However this is just UI issue and when you send request, it does not contains the header.

image

Expected behavior

Authorization header will be removed from Headers section and Http request section will not contain the header in case that you will change the type of Authorization to No Auth.

Also there can be delete icon next to Authorization header as in previous version.

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

Release 2.19.0

API Management service name

apimoridevla

Environment

  • Operating system: Win 11
  • Browser: Chrome
  • Version: 104.0.5112.102
@ghost
Copy link

ghost commented Sep 7, 2022

@cermakp, thank you for opening this issue. We will triage it within the next few business days.

@azaslonov azaslonov added P1 High-priority issues. (t) Bug Bug reports (actual behavior is different than the expected behavior). (u) Test console Issues specific to the interactive try-it console. labels Sep 9, 2022
@ghost
Copy link

ghost commented Sep 9, 2022

@cermakp, thank you for reporting the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High-priority issues. (t) Bug Bug reports (actual behavior is different than the expected behavior). (u) Test console Issues specific to the interactive try-it console.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants