Hello,
In the applications.tsx page, I’m trying to retrieve the UserInfo of the logged-in user, specifically the userId.
I know that there is a userinfo endpoint in Keycloak, but when I attempt to use it, I encounter a 401 error with the message:
error="invalid_token", reason="Key not found", auth_method="validate_access_token"
Is there a simple way to access the logged-in userID (and globaly UserIfo) directly from an account console page (such as Applications.tsx, DeviceActivity.tsx, etc.)?
Thank you!