feat: OIDC and external authentication providers #765
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Being able to delegate authentication to an external provider can be beneficial for reducing the number passwords people need to use, as well as allowing us to skip the anti-spam steps of email verification and captcha checking.
Also, something something MAS
It's probably worth skipping implementing legacy OIDC and doing this as we implement the new OAuth MSCs
see: #810
Indeed ! #810 aims at letting continuwuity act as an OIDC provider. My ambition is to add the ability to forward authentication to a standard external OIDC provider (in another PR), with kanidm as a testbed. But #810 is not done yet.
I initially thought I would only implement it as a forwarder to the MAS server, but then I thought about some drawbacks :
So I'm trying to focus on MSCs and OIDC compliance, aiming at a more robust feature. The OIDC authentication flow is provided by
oxide-auth
, which was a bit painful to get right, but is very comprehensive, and seems maintained.Also, there are several web endpoints in the new ones provided by MSC3861, and there's going to be some user experience care needed at some point.
BTW, I had exposed my perspective in a (migrated) github issue