You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like most home users I use smart-chatbot-ui behind an nginx reverse proxy and basic_auth.
My only changes from .env.local.example are setting the API key and the default model. So NEXTAUTH_ENABLED=false.
The first time I visit https://chat.mydomain.com, I get prompted for basic_auth by nginx, I enter it, the page loads....then smart-chatbot-ui tries to redirect to http://localhost:3000 (using some callback URL), which obviously doesn't load. This localhost:3000 is the URL of NEXTAUTH in the default .env.local. Then I try to access chat.mydomain.com again, and it loads fine from then on.
If I try a private/incognito browsing session, the same happens: tries to load localhost:3000 on the 1st load. Re-entering the URL makes it work.
Is there a way to completely disable this auth redirect? Other self-hosted tools tend to give you an option for that. It's a minor issue but I'd like to give some people access to my instance and this would confuse them.
Klizzy, mihalea, SamithChathuranga, mibexx and alienatix