{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-agen-for-work/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Get your Redirect URL","siteUrl":"https://developers.frontegg.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-your-redirect-url","__idx":0},"children":["Get your Redirect URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you configure an OAuth application in a third-party service (for example, Asana, HubSpot, or Zoom), the service asks for a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Redirect URL"]}," — the endpoint where it sends users after they authorize the application. For Agen for Work connectors, this URL points to your Frontegg MCP gateway."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"url-format","__idx":1},"children":["URL format"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your Redirect URL is built from your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Gateway URL"]}," and a fixed path:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://YOUR_MCP_GATEWAY_URL/integration-callback\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"find-your-mcp-gateway-url","__idx":2},"children":["Find your MCP Gateway URL"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," page in the Agen for Work portal (gear icon in the left sidebar)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Basic configuration"]}," panel, copy the value from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Gateway URL"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Append ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/integration-callback"]}," to the copied value."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/agen-for-work/settings/overview"},"children":["Settings"]}," for a full description of the Basic configuration panel."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"using-a-custom-domain","__idx":3},"children":["Using a custom domain"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you have configured a custom domain in Settings, use the custom domain instead of the default MCP Gateway URL:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://YOUR_CUSTOM_DOMAIN/integration-callback\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both the default MCP Gateway URL and a configured custom domain resolve to the same callback endpoint, so either form works."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example","__idx":4},"children":["Example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your MCP Gateway URL is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your-tenant.mcp-gw.frontegg.com"]},", your Redirect URL is:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://your-tenant.mcp-gw.frontegg.com/integration-callback\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Paste this value into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Redirect URL"]}," (or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Callback URL"]},") field when configuring an OAuth application in the third-party service."]}]},"headings":[{"value":"Get your Redirect URL","id":"get-your-redirect-url","depth":2},{"value":"URL format","id":"url-format","depth":3},{"value":"Find your MCP Gateway URL","id":"find-your-mcp-gateway-url","depth":3},{"value":"Using a custom domain","id":"using-a-custom-domain","depth":3},{"value":"Example","id":"example","depth":3}],"frontmatter":{"title":"Redirect URL","seo":{"title":"Get your Redirect URL"}},"lastModified":"2026-05-01T18:45:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/agen-for-work/connectors/redirect-url","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}