DiscipleTools / disciple-tools-theme

Disciple.Tools is a coalition management system for disciple making movements.
https://disciple.tools
GNU General Public License v2.0
40 stars 62 forks source link

SSO options in core #1922

Closed squigglybob closed 1 year ago

squigglybob commented 1 year ago

SSO Options in Core

Leaning on Firebase Authentication as a provider for SSO

This will also leverage the new JWT auth library that has just been added to core

V1 Spec

Testing on DT

Things to check/talk through

V2 Spec

RoadMap

flowchart LR
a(BETA in core):::red --> A(Test in PG)
a --> B(Test in DT)
a --> C(Test in Porches)
a --> D(Test in Zume5)
A:::orange --> b(Release in core):::green
B:::orange --> b
C:::orange --> b
D:::orange --> b

classDef red fill:#D00, color:#000, border:unset
classDef orange fill:#DA0, color:#000, border:unset
classDef green fill:#0D0, color:#000, border:unset
squigglybob commented 1 year ago

@corsacca if we are putting the custom login page into core, does it also need the recaptcha stuff as well? If so I can add it to the admin

corsacca commented 1 year ago

Is recaptcha part of the login plugin? Leave it out for now?

squigglybob commented 1 year ago

It's part of the custom login plugin at the moment

squigglybob commented 1 year ago

Note: Registration of new users

Currently there is a WP way of disabling/enabling new registrations. This will be at multisite level if WP is acting as a multisite. There is then also a DT way of disabling registration per subsite.

So there is no need to add a third way in the login section for this.

Ergo... use the multisite and subsite registration allowances in the login code, to control auto registration

squigglybob commented 1 year ago

It's part of the custom login plugin at the moment

@corsacca I guess it's to prevent spam registrations if users can register