Recent searches


No recent searches

Bala Natrayan's Avatar

Bala Natrayan

Joined Jun 16, 2023

·

Last activity Sep 08, 2023

Following

0

Followers

0

Total activity

9

Votes

0

Subscriptions

3

ACTIVITY OVERVIEW

Latest activity by Bala Natrayan

Bala Natrayan commented,

Community comment Developer - Zendesk APIs

Yogesh Rai You mentioned in your question that you were able to authenticate users in messaging successfully. I'm trying to do the same and running into issues. Can you please post your payload from jwt.io? I would like to compare my payload with yours. Here is mine. Thank you for your help.

View comment · Posted Sep 08, 2023 · Bala Natrayan

0

Followers

0

Votes

0

Comments


Bala Natrayan commented,

Community comment Developer - Zendesk APIs

Thank you, Ahmed for the clarification. Is there another way using which we can authenticate users only from the backend without using javascript?

View comment · Posted Jun 21, 2023 · Bala Natrayan

0

Followers

0

Votes

0

Comments


Bala Natrayan created a post,

Post Developer - Zendesk APIs

Hello,

Can anyone please share Postman config for authenticating end users in messaging? I have created a JWT token and trying to test if the end user authentication for messaging works from the postman. JWT token seems to be valid when I tried it in jwt.io. I'm not sure if the end point I'm using in the postman is correct for authenticating end users in messaging. I'm receiving an Invalid token error message. Please guide me. I really appreciate your help with this.

Posted Jun 20, 2023 · Bala Natrayan

0

Followers

2

Votes

1

Comment


Bala Natrayan commented,

Community comment Developer - Zendesk APIs

Hi Greg,

The link provided above takes me to this method. I don't think this is a backend method. It seems like a frontend script. I was looking for a way to pass the jwt token from backend to Zendesk directly. Can you please let me know if there are any ways? Thank you for your help.

zE("messenger", "loginUser", function (callback) {  callback("new-jwt-for-user")})

View comment · Posted Jun 16, 2023 · Bala Natrayan

0

Followers

0

Votes

0

Comments


Bala Natrayan commented,

Community comment Developer - Zendesk APIs

Hi Greg! 

We have a requirement to authenticate users in Zendesk as soon as they log into our website. Right now when they login, they can see the chat widget and they can post their questions by entering their email address. We would like to authenticate users automatically upon logging into the website so they could bypass entering their email address for messaging. 

I went to the admin => account => end user authentication => messaging and create a secret key. I saw this note there 

"Use these signing keys to authenticate end users with a trusted JSON Web Token (JWT) and give them access to their message history across multiple devices."

In the backend(C#), I have created a jwt token 
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCAiOiJ0ZXN0YWNjdDYxN0BzdXp5LmNvbSIsIm5hbWUiOiJUZXN0IiwiZXh0ZXJuYWxfaWQiOiJlOWQ1ODNlOC05NmUyLTQwNjEtODVlYy1mNzAwMTFkZmExZmIiLCJleHAiOiIyMDIzLTA2LTE3VDEzOjIzOjA5LjUyODg0MzktMDU6MDAiLCJqdGkiOiJiODEzYTFlNy0wN2JiLTQ4NzMtYWIxYy1kMmYwNDRhNWFmNWIiLCJpYXQiOjE2ODY5Mzk3ODl9.Ky1ttE_01hCLQorT2fpiJ-JnJqv6c6eSoLUMnxBqpPg
 
I have the jwt token now. But not sure what API I should be calling to authenticate users from the backend. Please let me know if you need further information. Thank you again for your help.

 

View comment · Posted Jun 16, 2023 · Bala Natrayan

0

Followers

0

Votes

0

Comments


Bala Natrayan created a post,

Post Developer - Zendesk APIs

Hi,

Can I authenticate users from the backend(C#) without using the frontend like javascript? If yes, what endpoint should I be using to authenticate users? Thank you for your help.

Posted Jun 16, 2023 · Bala Natrayan

0

Followers

2

Votes

4

Comments