Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing parameters, while getting user info. #5

Open
hikumar1 opened this issue Feb 10, 2021 · 0 comments
Open

Missing parameters, while getting user info. #5

hikumar1 opened this issue Feb 10, 2021 · 0 comments

Comments

@hikumar1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant