Rocket.Chat.js.SDK
Rocket.Chat.js.SDK copied to clipboard
User has no password set
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 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
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?