> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/white-label-documentation/customize-your-instance/custom-domains/app-oauth-redirect-uris.md). Agents can also search and read this documentation through its [MCP server](https://developers.make.com/~gitbook/mcp).

# App OAuth redirect URIs

For OAuth connections, such as Facebook apps, for example, you can use only one domain for redirect URIs. You can use either your Base or Primary domain as the redirect URI but not both. Best practice is to begin this process before Make completes your custom domain. Because most OAuth 2.0 connections support at least 2 redirect URIs, you can add the new redirects before your custom domain is active without impacting scenarios on your instance.

Example: Your Base domain is `xyz.onmake.com` and your new Primary domain is `customdomain.com`. You can use either `xyz.onmake.com` or `customdomain.com`. You cannot use both.

{% hint style="warning" %}
If the third party requires domain verification, such as Google and Microsoft, you need to use your primary domain.
{% endhint %}

You need to update your OAuth apps on the third-party side if you decide to change their configuration to your new Primary domain.

Example: You have a Facebook OAuth 2.0 configuration that uses your Base domain, `xyz.onmake.com`. If you want to change this configuration to your new Primary domain, `customdomain.xyz.com`, you need to manually update the redirect URIs at the Meta developers portal.

{% hint style="info" %}
We recommend that you begin the migration process before we complete your custom domain. Once you decide on your custom domain, you can add `/oauth/cb/{{appInternalName}}`.

Examples:

`https://yourcustomdomain.com/oauth/cb/google`\
`https://yourcustomdomain.com/oauth/cb/google-restricted`\
`https://yourcustomdomain.com/oauth/cb/facebook`
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.make.com/white-label-documentation/customize-your-instance/custom-domains/app-oauth-redirect-uris.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
