superstreamlabs / memphis

Memphis.dev is a highly scalable and effortless data streaming platform
https://docs.memphis.dev
Other
3.19k stars 215 forks source link

Bug: No field to add password while creating user #1631

Closed Exar04 closed 5 months ago

Exar04 commented 5 months ago

Describe the bug

Screenshot 2024-01-12 at 3 45 01 PM

I was trying to create a user (producer) but password field is not visible.

Steps to reproduce

  1. go to stations
  2. click on a station
  3. click on "+" plus icon in producers
  4. click on Develop a producer
  5. click on select user
  6. click on Create new user

Affected services

UI

Broker version

master

Platforms

No response

If UI - Browsers

Chrome, Safari

Environment

Development

Additional context

No response

Code of Conduct

idanasulin2706 commented 5 months ago

@SvetaMemphis could you please take a look?

Exar04 commented 5 months ago

I found the issue. https://github.com/memphisdev/memphis/blob/91a92ada29b6dbe1cf408948fd0855f8620b3613/ui_src/src/domain/users/createUserDetails/index.js#L514

when i disabled this it started showing password field

idanasulin2706 commented 5 months ago

Hi @Exar04 in which way you are running the broker?

Exar04 commented 5 months ago

Oh I was running memphis code (master branch) on my machine. I figure this might not be actual bug, But then how do I set password based auth? Sorry if this was dumb.

idanasulin2706 commented 5 months ago

@Exar04 Totally understood, it looks like you are not passing the USER_PASS_BASED_AUTH=true env var