Email optional user onboarding - Support SDK limitations

4 コメント

  • Christopher Kennedy
    Zendesk Developer Advocacy

    Hi Rich,

    For your use case, anonymous authentication may be a better fit since it doesn't require identifying the user.  You can also find a breakdown of the differences between anonymous and JWT authentication in Authentication Decision.

    Thanks,

    0
  • RichL

    Thanks @...! I'm still not sure how this would work for us...

    I don't think anonymous authentication is helpful for us because we would need users to not only be able to submit a ticket to us but also see our replies to them in the SDK and I don't think they could do that without authenticating. Because of course they have to authenticate to see their tickets:

    "End users are authenticated only in the event of making a network call to any Zendesk endpoint such as when requesting their support tickets."

    Basically, I would need users to be able to authenticate without necessarily having an email address on their account and that doesn't seem to be possible. The best (and only) unique identifier we would have to link a ZD profile to their customer account would be the external_id.

    My original concerns remain as we would require users to be able to authenticate but we won't necessarily have an email address on every user's Zendesk profile. 

    0
  • Christopher Kennedy
    Zendesk Developer Advocacy

    Hi Rich,

    I'd like to point out that with anonymous identities, the user can still access the requests that were created on the device.  They maintain that access until they uninstall the app or clear the app's data.

    If JWT is still a necessity after considering this, you can provide a unique placeholder email address for the user as an alternative strategy.  For example, in a JWT request to authenticate a user with an unknown email address, the email property value could be user123456@example.com.

    Thanks,

     

    0
  • RichL

    @... Thank you, that's helpful...will keep this all in mind. Cheers!

    0

サインインしてコメントを残してください。

Powered by Zendesk