Messaging JWT user authentication- update user profile?

Answered

7 Comments

  • Prakruti Hindia
    Zendesk Product Manager

    Hi Andrew, 

    The external_id provided during authentication will be propagated to the external id field of the user profile. The ongoing conversation and the subsequent conversation will be associated to the same user. Triggers cannot update external id. 

    - Prakruti

    0
  • Andrew

    Prakruti Hindia

    Let me rephrase a bit... if in the messaging JWT I pass additional claims like first name, last name, country, ect. Should I expect these fields on the ZD user object to be updated once ZD received this JWT from messaging? I am trying to get a clear understanding of when the ZD user object will be updated when we pass JWT's over for auth. 

    Thanks,
    Andrew Wells 

    2
  • Jeremy B

    I also want to know this answer 8 months later.

    0
  • Prakruti Hindia
    Zendesk Product Manager

    Hi folks,

    We do not support other claims - first name, last name , country as part of the authentication API. However, name, country etc captured as part of bot conversation is propagated through. 

    - Prakruti

    0
  • Jeremy B

    I'm passing `name` and `email` that are listed as optional in your docs https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/web/enabling_auth_visitors/ .

    When do those values show up for my agent on the receiving end of the messages? If the user changes their name and I issue them a new JWT with the same external_id and new name, when does that take effect?

    0
  • Prakruti Hindia
    Zendesk Product Manager

    Surfacing signed email provided as part of the Authentication API is on Q4 roadmap. It is not supported at the moment.

    I am checking with another team for name.  To clarify, name provided in the API is not signed. This is why I mentioned it is not supported as claims. 

    Country and other metadata as claims is not part of our roadmap, as of now. Having said that, you can use Widget and SDK APIs to pass other metadata useful to the agents to identify your customers and what they are reaching out for. 

     

    0
  • Jeremy B

    It does explicitly say `The name of the user will appear in the Zendesk Agent Workspace.` in your docs.  That seems to work, but I'm unclear on when (or if) it will update the name if the user re-authenticates with a new one.

    0

Please sign in to leave a comment.

Powered by Zendesk