Third-party integrations

TYPO3

Configure TYPO3 frontend wallet login through Keycloak using the existing OIDC extension.

Connect TYPO3's frontend to Keycloak with causal/oidc. Keycloak connects to the Ver.iD platform; Yivi is the example wallet.

What you need

First prepare your organization in Ver.iD Studio.

TYPO3 13.4.37, PHP 8.4, Composer and causal/oidc 6.0.1. Keep an independent backend administrator account. Prepare a frontend-user storage folder, a reader group and a protected page.

Install the official extension:

composer require causal/oidc:6.0.1
vendor/bin/typo3 extension:setup

Configure Ver.iD

Add Keycloak's callback URL in Ver.iD Studio → Verify → Authentications → your flow → Redirect URIs: <keycloak-base-url>/realms/<realm>/broker/verid/endpoint. See Add redirect URIs. Your application callback is configured separately on its Keycloak client.

Configure Keycloak

Apply the verified-contact post-login flow to the Ver.iD provider so both requested contacts and their verification flags are required before account access.

  1. Complete the Keycloak setup, including the protected wallet attributes and verid-wallet-claims scope. Enable Add to userinfo for its four wallet-claim mappers. Keep upstream Ver.iD UserInfo disabled.
  2. Create a confidential OpenID Connect client. Enable Standard flow and disable Implicit flow, Direct access grants and Service accounts roles.
  3. Register <site-base-url>/oidc/callback as its exact Valid redirect URIs entry. Assign only basic and verid-wallet-claims as default scopes, disable Full scope allowed and set PKCE method = S256.

On the dedicated client, also map protected verid_email to email and verid_email_verified to boolean email_verified, with Add to userinfo = On. Keep competing editable-profile email mappers off this client.

Configure TYPO3

Set the flat extension settings under $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['oidc'] through trusted server configuration. Use <issuer> = <keycloak-base-url>/realms/<realm> and copy the endpoints from <issuer>/.well-known/openid-configuration:

SettingValue
oauthProviderFactoryEmpty: use the extension's default provider
enableFrontendAuthentication1
enableBackendAuthentication0
oidcClientKey, oidcClientSecretYour TYPO3 client's Keycloak credentials, supplied privately
oidcClientScopesopenid
oidcClientScopeSeparatorA single space
oidcRedirectUri<site-base-url>/oidc/callback
oidcEndpointAuthorizeauthorization_endpoint from Keycloak discovery
oidcEndpointTokentoken_endpoint from Keycloak discovery
oidcEndpointUserInfouserinfo_endpoint from Keycloak discovery; keep populated
enableCodeVerifier1
oidcDisableCSRFProtection, enablePasswordCredentials0
usersStoragePidYour frontend-user storage folder ID
usersDefaultGroupYour ordinary reader-group ID
frontendUserMustExistLocally0 for new-account login
reEnableFrontendUsers, undeleteFrontendUsers0
oidcEndpointLogout, oidcEndpointRevokeEmpty

The native provider obtains account data through Keycloak's authenticated UserInfo endpoint. Do not leave that URL empty: the extension then falls back to decoding token content. Keep certificate validation enabled.

Add OIDC Login to a frontend page. Set plugin.tx_oidc_login.defaultRedirectPid to the protected page's ID, and restrict that page to the reader group using TYPO3's normal access settings.

Test the login

Open the OIDC Login page in a private window, select Yivi and approve the request. Confirm TYPO3 opens the protected page as a frontend reader. Sign out and repeat: the same frontend account must return. Cancelling a fresh request must not open protected content.

Keep backend administration and existing local frontend login available. The ordinary profile fields are not a separate wallet-evidence store. Configuration names above come from the 6.0.1 extension settings.

On this page