Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Custom attribute valued changed after refresh on frontend client #45059

@hailemaryam

Description

@hailemaryam

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

No response

Describe the bug

I have custom attribute tenantId. I have mapped it on the frontend client and backend client. I am using react with keycloak-js library. after logged in when I refresh the page. the custom attribute tenantId is getting change when I check it from admin UI of keycloak.

Version

26.4.5

Regression

  • The issue is a regression

Expected behavior

while checking custom field tenantId the value should not be changed during refresh. or re loging from frontend client.

Actual behavior

tenantId is changed during page refresh or reloging.

How to Reproduce?

realm-export (1).json

use the above kecloak realm configuration then try to login from react frontend app that use keycloak-js library using tenant-admin user. you will see tenantId will be changed after refreshing the react frontend page.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions