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

[portal] APIKey isn't the right one #6413

Closed
leleueri opened this issue Oct 18, 2021 · 2 comments
Closed

[portal] APIKey isn't the right one #6413

leleueri opened this issue Oct 18, 2021 · 2 comments

Comments

@leleueri
Copy link
Contributor

On portal, after subscribing to an APIKey plan,the APiKey isn't valid. (the Key ID is used instead of the Key)

If I try to execute the curl command, the GW respond with 401.

image (1)

image

Expected Behavior

  • the api key displayed should be the right one

Current Behavior

  • the api key displayed is the internal ID of the APIKey object

Possible Solution

  • display the right value

Steps to Reproduce (for bugs)

  1. subscribe to an API with APIKey plan
  2. try to execute the curl command

Your Environment

  • Version used: 3.12.0
@leleueri leleueri added this to the APIM - 3.12.1 milestone Oct 18, 2021
@leleueri leleueri changed the title [portal] [portal] APIKey isn't the right one Oct 18, 2021
@marcambier marcambier self-assigned this Oct 18, 2021
@marcambier
Copy link
Contributor

As discussed with @leleueri, it's not reproductable on bundled 3.12.0, or on master.

@leleueri
Copy link
Contributor Author

leleueri commented Oct 19, 2021

More info coming from gitter user, the issue still present on the "My Subscriptions" page for an Application (on master, maybe on 3.12 too)

image
image

Maybe due to this line : https://github.com/gravitee-io/gravitee-portal-webui/blob/master/src/app/pages/subscriptions/subscriptions.component.ts#L180

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

No branches or pull requests

3 participants