Skip to content

Missing parameters, while getting user info. #5

@hikumar1

Description

@hikumar1

Hi Team,

I am using the onelogin sdk library for my android app, but I found an isssue when getting user information, as if we configured the custom parameters from one login web portal.
There is no provison to get those parameter in getUserInfo sdk method, as data class in callback (UserInfo) do not have any key as "params".
As when I checked this in POSTMAN, in response, we get those parameters in "params" key.

Please see the postman response:

{
    "sub": "xxxxxxxxx",
    "email": "xxxxxx@xxxxx",
    "preferred_username": "xxxxxxx",
    "name": "xxxxxxx",
    "params": {
        "Birthplace": "xxxxxx",
        "Groups": "xxxxxx"
    }
}

Can you please let me know if we are planning to make these changes in upcoming days?

Thanks
Himanshu Kumar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions