sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.16k stars 216 forks source link

onprem: on landing page, list SSO methods if email signup is disabled #7557

Open haraldschilly opened 4 months ago

haraldschilly commented 4 months ago

This came up for onprem deployments. If one or more SSO methods are the only ways to sign up – i.e. when the site setting email_signup is disabled – then it makes little sense to show the signup+in buttons on the landing page.

Instead, it would be much nicer if there is a list of all SSO methods instead of these buttons. There should be the icons for all SSO which are listed on the /sso page. In reality, this is usually just one method.

The other pages for signup+in should stay as they are, though. They should not go away, because admin users or others should still be able to sign in via email+password – it's just not the preferred way, and hence the landing page should streamline the SSO options.

haraldschilly commented 4 months ago

@schrodingersket let me know if you want to work on this