Recent searches


No recent searches

B89 Service Principal Account's Avatar

B89 Service Principal Account

Joined May 13, 2021

·

Last activity Oct 16, 2021

Following

0

Followers

0

Total activity

4

Votes

0

Subscriptions

2

ACTIVITY OVERVIEW

Latest activity by B89 Service Principal Account

B89 Service Principal Account commented,

Community comment Developer - Zendesk SDKs

Hey @..., thank you for the answer.

We enabled the JWT authentication in Zendesk according to the documentation. Related to the SDK, we are using the following code (iOS):

Zendesk.initialize(appId: Bundle.main.zendeskAppID,
clientId: Bundle.main.zendeskClientID,
zendeskUrl: Bundle.main.zendeskURL)
CommonTheme.currentTheme.primaryColor = .SecondaryBemon400
// Authenticated session
if let token = try? Session.Authentication.getPubID() {
logger?.log("PubID: \(token)", level: .debug)
if let instance = Zendesk.instance {
let identity = Identity.createJwt(token: token)
instance.setIdentity(identity)
logger?.log("Zendesk itentity setup correctly", level: .info)
} else {
logger?.log("No Zendesk Instance was found. Zendesk session is not authenticated", level: .error)
}
} else { // Unauthenticated session
let ident = Identity.createAnonymous()
Zendesk.instance?.setIdentity(ident)
logger?.log("Zendesk itentity with anonymous setup", level: .info)
}
Support.initialize(withZendesk: Zendesk.instance)
Chat.initialize(accountKey: "dummykey")
AnswerBot.initialize(withZendesk: Zendesk.instance,
support: Support.instance!)

We don´t know what could be failing.

Thanks again!

View comment · Posted Mar 17, 2021 · B89 Service Principal Account

0

Followers

0

Votes

0

Comments


B89 Service Principal Account commented,

Community comment Developer - Zendesk SDKs

Hello,
We are implementing a dedicated endpoint for use with the Zendesk SDK in order to authenticate users through a JWT. Our implementation in our backend works correctly, it returns the expected response. However, when we use the Zendesk SDK, there are no traces of a request being made from Zendesk to our servers, even though we have configured everything correctly, as instructed in this link: https://develop.zendesk.com/hc/en-us/articles/360001075248-Building-a-dedicated-JWT-endpoint-for-the-Support-SDK.

What do you think this might be?

Thank you

View comment · Posted Mar 17, 2021 · B89 Service Principal Account

0

Followers

0

Votes

0

Comments