acr=2 token.
Portal client
Use these settings on thegrounds-portal client.
1
Set the browser flow override
Set the browser flow override to:
2
Set ACR to LoA mappings
Add both mappings on the client:
groups claim as identity groups. Do not grant Portal access through realm_access.roles; users without a groups claim are denied login.
Browser flow
Create or update thegrounds portal browser step-up browser flow.
Minecraft identity provider
Set theminecraft identity provider post-login flow to:
Deny access execution after OTP Form.
Forge settings
Forge must require the same ACR value Keycloak returns for LoA 2.Troubleshooting
If a Control Center write returns403, inspect the token claims at the Portal-to-Forge boundary. A rejected replay with acr=1 means Keycloak did not execute LoA 2.
Common causes:
- The
grounds-portalclient does not use the step-up browser flow override. - The
grounds-portalclient is missing the1 -> 1and2 -> 2ACR mappings. - The LoA 2 condition uses a non-numeric value instead of
2. - The Minecraft identity provider has no post-login flow configured.
- The Minecraft post-login flow is missing the LoA 1 allow-access subflow before LoA 2.
- The user has no OTP credential configured.
- The token is missing the
groupsclaim. Portal and Forge do not import identity groups fromrealm_access.roles.
