Nikola Klipa
Nikola Klipa

Reputation: 333

How to add all urls starting with some url to zendesk api client

I'm making oauth with Zendesk and I need to add redirect urls to api client on Zendesk. What I want to do is to accept all urls that starts with example.com/something/. For example:

For example like this, but with any number after it

Is it possible to do and if yes how?

Upvotes: 0

Views: 281

Answers (2)

Nikola Klipa
Nikola Klipa

Reputation: 333

It is not possible to have dynamic redirect URLs.

In our case, we've decided to save that url in cookie. Then we redirect our user from oauth to the same page ("Thank you for allowing access to our app"), and then redirect it to specific url saved in cookie.

Upvotes: 0

Daniel Pawluk
Daniel Pawluk

Reputation: 11

Nikola,

It is not possible to have dynamic redirect URLs. Security is the main reason for this. Is it possible for you to collect whatever data is being used in the path as a parameter?

Upvotes: 1

Related Questions