Oauth Redirect Url Issue | Community
Skip to main content

Oauth Redirect Url Issue

  • June 14, 2023
  • 5 replies
  • 0 views

Support21

Greetings!

I am implementing Oauth flow in my Zendesk support app, I am following this document's Implicit grant flow.

https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application#topic_vmf_ndl_1l

I have doubt with redirect url.  Which url I have to pass in this?

I created a Url and call the api but I didn't understand that How can I will get access token from that url and I recieved access_token and token_type in both the cases :
1. When user accept authorization flow

2 . When User deny authorization flow

Helps me to reach out from this

Thanks in advance

5 replies

Hello,
 
The redirect URL is where we'll send the granted access token for your application to use.  Are you having trouble completing the authorization process to get a token?

Support21
  • Author
  • June 16, 2023

Thanks Christopher,

Now I am able to get token but stuck when I wam redirecting user to my particular url


Are you receiving an error?  Can you share more details about what's currently happening that is unexpected?

Support21
  • Author
  • June 19, 2023

I am redirecting user to my domain url.

Firstly User clicks on Manage Billing button.

Then I am redirecting user to my domain url:-

 

Now my concern is that how can I authenticate this url. Like I am redirecting using this command:

window.open(urls.accountDash+"?id="+user_id, "_blank");
 
And for the secure setting I only can use {{setting.token}} to get token from manifest.json file. Now How can I redirect user by using client promises.
 
Hope this makes you clear.
 
Thanks Christopher

Once the user reaches your Word Wand AI page, what is next in the flow?  Are you looking to access some resources from Zendesk?