Ricerche recenti


Nessuna ricerca recente

B89 Service Principal Account's Avatar

B89 Service Principal Account

Data ingresso 13 mag 2021

·

Ultima attività 16 ott 2021

Seguiti

0

Follower

0

Attività totali

4

Voti

0

Abbonamenti

2

PANORAMICA ATTIVITÀ

Ultima attività di B89 Service Principal Account

B89 Service Principal Account ha commentato,

Commento nella community 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!

Visualizza commento · Data ultimo post: 17 mar 2021 · B89 Service Principal Account

0

Follower

0

Voti

0

Commenti


B89 Service Principal Account ha commentato,

Commento nella community 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

Visualizza commento · Data ultimo post: 17 mar 2021 · B89 Service Principal Account

0

Follower

0

Voti

0

Commenti