WP Manifestindependent plugin directory
manifest / users / wordpress-hitobito-login

Hitobito Auth Codeberg

This plugin allows to authenticate users against Hitobito.

★ 0stars
3release downloads
v0.2.3latest · never

Install

Download wordpress-hitobito-login-0.2.3.zip From the v0.2.3 release on Codeberg, Oct 7, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from Codeberg with WP-CLI:

wp plugin install https://codeberg.org/pfadilaupen/wordpress-hitobito-login/releases/download/v0.2.3/wordpress-hitobito-login-0.2.3.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin allows to authenticate users against Hitobito. This plugin is based on OpenID Connect Generic Plugin for Wordpress.

Login & Role Mapping Flow

flowchart TD
    A["Login button"] --> B["Login via OpenID<br>(generic OpenID Connect flow —<br>authenticate, look up or create WP user)"]

    B -->|New user| C{"Role mapping<br>resolved?"}
    B -->|Existing user| D{"Role mapping<br>bypass set for<br>this user?"}

    D -->|Yes| E["Keep current<br>WP role(s)"]
    D -->|No| F{"Role mapping<br>resolved?"}

    C -->|No mapping found| G["Deny — creation blocked<br>(no matching mapping)"]
    C -->|Mapped to 'None'| H["Deny — access denied<br>(mapped to None)"]
    C -->|Valid role| I["Create WP user<br>with mapped role"]

    F -->|No mapping found| J{"'Update roles'<br>setting enabled?"}
    F -->|Mapped to 'None'| K["Deny — access denied<br>(mapped to None,<br>roles unchanged)"]
    F -->|Valid role| L{"'Update roles'<br>setting enabled?"}

    J -->|Yes| M["Strip all WP roles"] --> N["Deny — no matching mapping<br>(roles cleared)"]
    J -->|No| E

    L -->|Yes| O["Apply mapped role(s)"] --> P["Logged in"]
    L -->|No| E

    I --> P
    E --> P

    G --> Q["Login error"] --> A
    H --> Q
    K --> Q
    N --> Q

Devcontainer

For the first use you have to setup the container. This may take a while.

docker compose up -d
docker compose exec app /bin/sh
# Enter this in the docker shell:
bash .devcontainer/setup.sh

If the container is running you can access the Wordpress instance here: http://localhost:8080/
Use the following credentials to login:
User: admin
Password: password

Releases

4 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v0.2.3 latest
Oct 7, 2026 1mo ago
wordpress-hitobito-login-0.2.3.zip
1
Sep 29, 2026 1mo ago
wordpress-hitobito-login-0.2.2.zip
1
Sep 29, 2026 1mo ago
wordpress-hitobito-login-0.2.1.zip
1
Sep 17, 2026 2mo ago
wordpress-hitobito-login-0.2.0.zip
0