cocalc icon indicating copy to clipboard operation
cocalc copied to clipboard

Next/SSO

Open haraldschilly opened this issue 3 years ago • 2 comments

Description

refactors everything around authentication, improves what the info/conf row in the database should contain, improve passport configuration, React.FC-ing landing/sign-in/passport components, ... the main new addition are dedicated /sso/* pages: an index page and one more detailed page for each mechanism. non-public SSO mechanisms are also hidden by default from the sign-up/in pages, unless they're configured to show up. that avoids unnecessary clutter. however, if you try to sign up with an exclusive domain, the pages point you to the SSO endpoint.

deployment: hub first (since there is a new DB field), then frontend

some screenshots

Screenshot from 2022-03-25 15-53-58

Screenshot from 2022-03-25 15-53-26

Screenshot from 2022-03-25 16-02-48

Screenshot from 2022-03-25 16-46-36

Checklist:

  • [ ] Testing instructions are provided, if not obvious
  • [ ] Release instructions are provided, if not obvious

haraldschilly avatar Mar 18 '22 18:03 haraldschilly

Wow!

williamstein avatar Mar 18 '22 18:03 williamstein

far from ready, though 🙈

haraldschilly avatar Mar 18 '22 18:03 haraldschilly