I have tried several ways to submit these roles, but I am constantly getting this default subscriber role.
{
"sub": "6ae63411-cfe7-4331-9b73-28ff25fddcec",
"email_verified": true,
"user-realm-role": [
"administrator",
"offline_access",
"uma_authorization"
],
"name": "Test Test",
"preferred_username": "xxxxxxx",
"given_name": "Test",
"family_name": "Test",
"email": "test@xxxxxx.eu"
}
when I try to test, I get these errors
ttempt to read property "ID" on bool in ..../wp-content/plugins/oidc-wp-roles/src/Admin/SettingsTabTesting.php on line 96
[06-Feb-2026 23:19:51 UTC] PHP Fatal error: Uncaught TypeError: OidcRoles\Service\MappingsManager::setUser(): Argument #1 ($user) must be of type WP_User, bool given, called in .../wp-content/plugins/oidc-wp-roles/src/Admin/SettingsTabTesting.php on line 102 and defined in ..../wp-content/plugins/oidc-wp-roles/src/Service/MappingsManager.php:106
I have tried several ways to submit these roles, but I am constantly getting this default subscriber role.
when I try to test, I get these errors
ttempt to read property "ID" on bool in ..../wp-content/plugins/oidc-wp-roles/src/Admin/SettingsTabTesting.php on line 96
[06-Feb-2026 23:19:51 UTC] PHP Fatal error: Uncaught TypeError: OidcRoles\Service\MappingsManager::setUser(): Argument #1 ($user) must be of type WP_User, bool given, called in .../wp-content/plugins/oidc-wp-roles/src/Admin/SettingsTabTesting.php on line 102 and defined in ..../wp-content/plugins/oidc-wp-roles/src/Service/MappingsManager.php:106