最近搜索


没有最近搜索

B89 Service Principal Account's Avatar

B89 Service Principal Account

已加入2021年5月13日

·

最后活动2021年10月16日

关注

0

关注者

0

活动总数

4

投票

0

订阅

2

活动概览

的最新活动 B89 Service Principal Account

B89 Service Principal Account 进行了评论,

社区评论 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!

查看评论 · 已于 2021年3月17日 发布 · B89 Service Principal Account

0

关注者

0

投票

0

评论


B89 Service Principal Account 进行了评论,

社区评论 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

查看评论 · 已于 2021年3月17日 发布 · B89 Service Principal Account

0

关注者

0

投票

0

评论