I am trying to use jwt authentication for zendesk support on my iOS app:
Zendesk.initialize(appId: "<#appId#>",
clientId: "<#clientId#>",
zendeskUrl: "<#zendeskUrl#>")
Support.initialize(withZendesk: Zendesk.instance)
// Set an identity for authentication.
let identity = Identity.createJwt(token: myToken)
Zendesk.instance?.setIdentity(identity)
But Identity.createJwt return me an invalid token: if I put it in https://jwt.io/, I don't have 'name' in response payload.
When I call my API with curl, the token is correct.
So, can the problem is with Identity.createJwt ?
Shouldn't Identity.createJwt return the same token as the api?
To best help, we'll be addressing this in the ticket you have open on this issue.