Unable to login Local login

Hi All,

We have deployed the discourse image in kubernetes environment, We have configured the OIDC authentication plugin for the user authentication. Our OIDC client secret is expired and we could not retain it because Azure AD is autogenerating new key.

Is there any way to enable local logins, If anybody provide steps that would be really helpful.

If you can access your server, run these commands

cd /var/discourse
./launcher enter app
rails c
SiteSetting.enable_local_logins = true

Or run this link if your emails settings works well yourdomain/u/admin-login

1 Like

Hi Steven, Thanks for the quick response, there is not /var/discourse folder there.

Hi Steven,

The second option mydomain/u/admin-login helped us, the admin user logged in using recovery email option.

Thanks for your help, appreciate !!!

1 Like