The URL that you use in your requests must either be an exact match to the OAuth Redirect URI in your application on the AT&T Developer Program website or be an extension of that value. The Redirect URI uses the following rules:
- If the redirect_uri parameter is not present in the request, then the API Gateway uses the value of the OAuth redirect URI that you provided when you created your application.
- If the redirect_uri parameter is present in the request, then this parameter value is validated to ensure that the value of the redirect_uri parameter matches the base URI that you provided when you created your application. For example, if the URI you provided during application creation was https://yourdomain.com/abc, then the following values will match:
-
-
- https://yourdomain.com/abc?query=abcd
- https://yourdomain.com/abc/def
- https://yourdomain.com/abc
- https://yourdomain.com/abc/def?query=abcd
-
-
- But these values will not match:
-
-
- https://yourdomain2.com/abc
- https://yourdomain.com/def
-