You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other methods and attributes have their own interfaces, such as userProfile and loadUserProfile using KeycloakProfile. It should be the same for userInfo and loadUserInfo with KeycloakUserInfo.
Details
Simply implement KeycloakUserInfo interface and add it to userInfo attribute and loadUserInfo method
The text was updated successfully, but these errors were encountered:
Area
adapter/javascript
Description
Currently,
KeycloakUserInfo
interface does not exist, but the code suggests that it should be implemented:https://github.com/keycloak/keycloak/blob/9186327807477f4ca5c36d0adb6fd7b7f62b9721/js/libs/keycloak-js/dist/keycloak.d.ts#L461-L464
This new interface will then be used for the return value of
loadUserInfo
, that currently returns an untyped objecthttps://github.com/keycloak/keycloak/blob/9186327807477f4ca5c36d0adb6fd7b7f62b9721/js/libs/keycloak-js/dist/keycloak.d.ts#L618-L621
Discussion
No response
Motivation
Other methods and attributes have their own interfaces, such as
userProfile
andloadUserProfile
usingKeycloakProfile
. It should be the same foruserInfo
andloadUserInfo
withKeycloakUserInfo
.Details
Simply implement
KeycloakUserInfo
interface and add it touserInfo
attribute andloadUserInfo
methodThe text was updated successfully, but these errors were encountered: