Open metasoarous opened 6 months ago
I want to deploy polis to my university. We have a SSO setup, so I would be very interested to have that feature.
I can work on it, I'm quite new to implementing authentication but I can learn how to do it.
I opened this discussion: https://github.com/compdemocracy/polis/discussions/1779 to discuss how the login works right now. The server.ts is a huge file, and maybe it would be nice to broke it up into smaller files. Right now it's hard to work on it.
Problem: Identity management right now requires using the XID system. While extremely flexible, using this system requires setting up a separate web property which then embeds conversations.
Suggested solution: OpenID Connect is a well supported standard among identity providers and would provide something closer to a solution for authenticating against a wide range of identity providers.
Alternative suggestions:
Additional context:
Status: Given the flexibility of the XID system as it stands, and the complications mentioned above, CompDem is unlikely to fund this work ourselves. However, if there is interest in working on this, we'd consider reviewing and merging.