memphis icon indicating copy to clipboard operation
memphis copied to clipboard

Bug: "Generate JWT token" model cannot be closed

Open yanivbh1 opened this issue 1 year ago • 9 comments

Describe the bug

Hey, The "Generate JWT token" model cannot be closed. "Close" button is disabled. Screen Shot 2023-06-11 at 12 37 46

Steps to reproduce

  1. Station overview
  2. Code examples
  3. REST
  4. Generate JWT token
  5. Choose a user and actually generate a token

Affected services

UI

Broker version

v1.0.2-stable

Platforms

No response

If UI - Browsers

No response

Environment

No response

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

yanivbh1 avatar Jun 11 '23 09:06 yanivbh1

@yanivbh1 I would like to work on this.

akarsh-jain-790 avatar Jun 11 '23 19:06 akarsh-jain-790

@akarsh-jain-790 thanks for that, you can start working on it

idanasulin2706 avatar Jun 12 '23 01:06 idanasulin2706

@idanasulinmemphis I can't replicate the issue because when I try to generate a JWT token, I don't see any application user. Screenshot 2023-06-12 at 11 05 07 PM

akarsh-jain-790 avatar Jun 12 '23 17:06 akarsh-jain-790

@avrhamNeeman could you please take a look?

idanasulin2706 avatar Jun 12 '23 20:06 idanasulin2706

@akarsh-jain-790 It's empty because you need to create an application user before. Just with the application user and password, you can generate a JWT token.

avrhamNeeman avatar Jun 13 '23 14:06 avrhamNeeman

@avrhamNeeman I'm receiving an error message stating that I cannot reach "http://localhost:4444/" when attempting to generate a JWT token.

Screenshot 2023-06-19 at 6 46 09 PM

akarsh-jain-790 avatar Jun 19 '23 13:06 akarsh-jain-790

@akarsh-jain-790 You need to expose the 'REST gateway' before. If you are running the broker locally, you need to clone and run this project: https://github.com/memphisdev/memphis-rest-gateway

avrhamNeeman avatar Jun 20 '23 09:06 avrhamNeeman

I saw this issue was getting stale so I tried to solve it, hope that's ok.

orellazri avatar Jul 28 '23 19:07 orellazri

Thank you @orellazri

yanivbh1 avatar Jul 30 '23 06:07 yanivbh1