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

oauth2.0 connector: support parse nested userInfo in Profile Map config #5580

Open
keisni opened this issue Mar 28, 2024 · 1 comment
Open
Assignees
Labels
feature-request Something cool or not cool

Comments

@keisni
Copy link

keisni commented Mar 28, 2024

What problem did you meet?

my identity provier, reponse user info like this:
{
"code": 10000,
"data": {
"uid": "alice"
},
"msg": success
}
i tried to config Profile Map like this:
{
"id": "data.uid"
}
but it doesn`t work.

Describe what you'd like Logto to have

Support Profile Map config in this case.
Or please tell me how to do this if this feature alreay exists.

@xiaoyijun
Copy link
Contributor

Hi @keisni , currently we do not support property mapping through an object's keypath, but this indeed is a feature worth implementing. However, due to the lack of sufficient resources recently, if you are in a hurry, you could to try contributing your code, otherwise you need to wait for our update plans.

@xiaoyijun xiaoyijun added the feature-request Something cool or not cool label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Something cool or not cool
Development

No branches or pull requests

3 participants