2. Configure the OpenID Connect plugin

Written by

in

We reuse OpenID Connect Generic Client instead of writing a login from scratch. The settings that matter:

Login typeOpenID Connect button on login form
Scopeopenid email profile custom wallet
EndpointsCopied from https://idattestor.totochain.net/.well-known/openid-configuration
Identity keysub: the stable WoofID user ID, never the email
Display name{name}
Link existing usersOff, so nobody can claim an existing WordPress account just by having the same email
Create user if missingOn
State time limit1800 seconds, so a WoofID magic link still works when the email is slow to arrive

On this site setup.sh writes all of these with WP-CLI, so the whole site can be rebuilt from scratch with one command.