-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Comments
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. |
This is preventing me from using Zendesk as one of the connectors, they nest their user response in a "user" object. |
Same issue for me here, except with Patreon. My workaround was to setup a small proxy to flatten the userinfo and configure logto to go to it. For reference, I found your post on discord https://discord.com/channels/965845662535147551/1272623933186637997 |
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.
The text was updated successfully, but these errors were encountered: