This repository was archived by the owner on Mar 3, 2022. It is now read-only.
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
User profile params should return a map instead of an Array of maps #1323
Open
Description
Steps to Reproduce:
- Add the params scope and make sure additional params are available.
- log in, the
/me
call returns the user profile. - Access the profile via
const user = await userManager.getUser()
.
Expected behaviour:
Calling user.profile.params
would return a map of the extra user params.
Actual result:
Calling user.profile.params
returns the params as an array where each entry holds the exact same params as a map.
Result of the /me
call:
Result of userManager.getUser()
: