Rocket.Chat.js.SDK icon indicating copy to clipboard operation
Rocket.Chat.js.SDK copied to clipboard

User has no password set

Open waglik opened this issue 6 years ago • 2 comments

Hi

I am trying to connect to our rc installation but have an issue at login. When I try to log in a browser credentials works just fine :

[login] Logging in grokebot
[login] Error: { isClientSafe: true,
  error: 403,
  reason: 'User has no password set',
  message: 'User has no password set [403]',
  errorType: 'Meteor.Error' }

Any idea what went wrong?

waglik avatar Jul 13 '18 13:07 waglik

@waglik How are you supplying credentials to the SDK? You can set it as an environment variable, or pass it directly to the login method.

  • env: https://github.com/RocketChat/Rocket.Chat.js.SDK#settings
  • login: https://github.com/RocketChat/Rocket.Chat.js.SDK#quick-start

timkinnane avatar Jul 14 '18 00:07 timkinnane

@timkinnane

Yes I have them set as ENV variables. Does it matter that rc instance auth against LDAP?

Edit: I just run the same code against open.rocket.chat and it seems to be fine. Is there anything that needs to be configured on the instance to make it work?

waglik avatar Jul 15 '18 06:07 waglik