The discussion revolves around skipping the login modal when only one authentication method (CAS) is available, as the current modal is unnecessary in a closed garden setup. eriko explains that the single sign-on (SSO) settings don’t apply since they’re using CAS, not the official SSO. They want the login process to directly open a toolbarless window for the single auth method instead of showing a modal with only one option. codinghorror suggests checking the SSO settings, but eriko clarifies this won’t work. sam confirms there’s no existing option for this, but radq points to the showLogin action in Discourse.ApplicationRoute as a starting point for a potential plugin or PR. sam also suggests reviewing how SSO is implemented for further guidance.
I am not thinking about switching to the Official SSO as that will not work with our CAS setup. If the official sso does the same thing I want then it gives me a place to look.
I am looking for a way so that the following happens:
you click first Log In in the header
the toolbarless window to use the single auth source
right now
you click first Log In in the header
the modal that lists all the auth methods Log in in with XXXX opens.
you select the single available one
the toolbarless window to use the single auth source
I am actually after this for accessibility reasons as currently after finding and selecting Log in you then have to go find the second specific Log in with XXXX. It is rather confusing the only reason I knew to look for it while I was using the app with my eyes closed is that I knew it was there.