I need to reduce the no of clicks in Google authentication | Community
Skip to main content

I need to reduce the no of clicks in Google authentication

  • July 26, 2023
  • 3 replies
  • 0 views

Abdul15

Hello..

I integrated Google authentication with my app using this doc..

Here, I'm looking for some adjustments.. 

Initially, after user verification "GOOGLE SIGNIN BUTTON" will render.. The user needs to click (click1) the "GOOGLE SIGNIN BUTTON" which will open a separate tab for login, and the user needs to click (click2) the corresponding account for authentication.. The flow is working fine..

But, I need to reduce the no of click from 2 to 1 (It should directly open the login tab).. So, I need to click the google sign-in button automatically (It should not be manual click).. 

Is there anyway to reduce the no of clicks..

Looking forward for solutions..

Thank you...

 

3 replies

Hi Abdul,
 
That behavior is specific to the Google sign-in process itself, rather than anything related to integrating it with Zendesk.  I recommend checking existing questions or asking a new question with the google-signin tag on Stack Overflow, for the best assistance with configuring the sign-in process.

Abdul15
  • Author
  • August 3, 2023

Thank you @christopher53... :)

 

Meanwhile, I'm facing another issue now..

Inorder to capture the conversation in my app, you suggest that "ticket.conversation.changed", to get the latest message from the user.. It works well..

But, Now I'm adding 2 different features (Feature1 and Feature2) in my app.. So, I have just called this ("ticket.conversation.changed") function in one of the feature (Lets take Feature1).. 

And I made some radio buttons to switch between these features.. So, Once the Feature1 with ("ticket.conversation.changed") is selected means, it starts listening the conversation changes..

But, my problem is, It is listening events and generating responses when I select Feature2 also..

I thought, I need to stop this conversation listening when I select the Feature2 radio button.. 

So, Can you suggest, How can I able to hide or stop this "ticket.conversation.changed", when another feature is clicked..

I just tried with client.off("ticket.conversation.changed, fn) something like this, but its not working..

 

Looking forward for solutions to resolve this issue..

Thank you...


Abdul15
  • Author
  • August 9, 2023

Hey @christopher53

Just a follow-up for my above query (To control "ticket.conversation.changed" event listener).. :)

 

Thank you..