Question

I want to add dynamic OAuth Redirect URL

  • 12 June 2017
  • 4 replies
  • 2219 views

I want to add the App for get Call details in my magento 1.7.2 site. I want to add this functionality in admin panel. admin has dynamic url in customer module. then how to i add OAuth Redirect URI.


4 replies

You should be able to add one or more OAuth RedirectURI's into your application during development ( Sandbox ).

Please Login to the Developer Portal and click on the application:

Head over to Settings -> OAuth Settings you should be able to add the redirectUri


For any OAuth Redirect URI additions into the application once the app has been approved for Production, please send out an email to the developer support team or submit a support ticket with the necessary details and the team would add it.

You are not getting my point. I know i can add the url there but my url has one random key associated. it will be change every time so how can i add url with dynamic generated key ?
Hi Darshan,

Sorry, my bad I did not understand the question. I guess the usage of Wildcards will solve the purpose for you. 

Below is an example of how to use wildcards:

Let's say your redirectURI looks like this:

http://localhost:8080/callback.php

You could add the redirectUri on your application as:

http://localhost:*/callback.php

Let us know if you still have any issues using the Wildcards within the redirectURI. 

Wildcards are not allowed in the OAuth Redirect URI

Reply