I hosted community on ec2 instance I want to remove this sigin login page so that when i click on one button it directly open the site i configure with openId connect please suggest how to do this
AI-generated summary
In a discussion about configuring Discourse to use OpenID Connect as the sole login method, Jaskaran seeks to remove the local login form and auto-redirect users to their OpenID provider. ondrej suggests CSS tweaks to hide parts of the login modal, though this is a cosmetic fix. Moin recommends disabling the enable_local_logins site setting — a more robust solution — which automatically redirects users to the OpenID provider, eliminating the local login form entirely. Jaskaran asks for clarification, and ondrej provides a screenshot showing where to find the setting in the admin panel. Moin cites the Settings Explorer bot, confirming that disabling enable_local_logins ensures OpenID Connect is the only authentication method, improving security and UX. Finally, Jaskaran asks how admin accounts (previously configured via app.yml) will function under this setup — implying a need for OpenID-based admin access or an alternative mechanism for administrative logins when local logins are disabled.
Would this work?
.d-modal.login-modal .login-left-side, .d-modal.create-account .login-left-side {
display: none;
}
.d-modal.login-modal .d-modal__body, .d-modal.create-account .d-modal__body {
padding: 3px;
padding-right: -2px;
display: block;
}
That removes the left side of the modal and leaves you with just the right
Please mention that where i can do these changes I added discourse component which is custom header link
Have you tried to disable the ‘enable local logins’ site setting?
No I haven’t tried I dont know about it could you pls elaborate more
This is a part of the explanation of the Settings Explorer bot:
thankyou for the reply one more this if i have admin accounts hich i add in my app.yml file now when only authentication is through openID provide how admin account works


