chaos-jetzt / chaos-jetzt-nixfiles

5 stars 2 forks source link

Migrate dokuwiki away from Keycloak #3

Open e1mo opened 1 year ago

e1mo commented 1 year ago

Migrating away from Keycloak is, from a technical point of view, quite easy:

  1. Ensure users have valid E-Mail addresses in the Keycloak.
  2. Remove plugin.oauth.singleService. Users can now login with both Keycloak and plain auth and set a password for their plainauth user.
  3. After some time set authtype = "authplain" and remove/disable the oauth and oauthkeycloak plugin. Users which did not set a password in the previous step can trigger a password reset.

However, we somehow need to handle registrations for the Dokuwiki. Just leaving them open will (and did in the past) invite spam bots. Thus we need to decide with which (combination) of these options we want to take:

What do we want to do in the end?

dasPolygon commented 6 months ago

we think manually approving users might actually be the best option. We also can imagine feeling responsible for this.