I am trying to use authentication in BotPress web chat interface. I have seen the example here:
So to start with I am trying login_prompt. But how the redirection to login prompt will happen? I have tried putting all 3 things mentioned in page for basic auth but there is no redirection happening to login prompt.
If you did everything they say in the manual only you need to activate the login.
In orden to do this you need to edit the file
botfile.js
and change the value oflogin.enabled
to trueOr start your application in production mode.
To set an environment variable in Windows:
on Linux: