diff --git a/fundamentals/developer-apps.mdx b/fundamentals/developer-apps.mdx index aeca21f21..fe0c5d342 100644 --- a/fundamentals/developer-apps.mdx +++ b/fundamentals/developer-apps.mdx @@ -100,7 +100,16 @@ Callback URLs (redirect URIs) are required for OAuth flows. After a user authori - URLs must match exactly (including trailing slashes) - Maximum of **10 callback URLs** per app - Use `https://` in production -- For local development, use `http://127.0.0.1` (not `localhost`) +- For local development, loopback callbacks such as `http://127.0.0.1:3000/callback` or `http://localhost:3000/callback` are accepted. The callback your app sends must exactly match a registered one, including scheme, host, port, and path. + +### Website URL + +The Website URL in your app settings is separate from your callback URLs: + +- It must be a public `http://` or `https://` URL on a real domain. `localhost` and IP addresses are not accepted. +- If you don't have a website for a personal or local-only app, use a public URL you own or represent, such as your X profile (`https://x.com/yourhandle`). +- The Website URL, along with the organization, terms of service, and privacy policy URLs, is checked for safety when you save. Callback URLs are not part of this check. +- If saving fails with "Not a valid URL format" or "url contains malware URL", the problem is the Website URL or another non-callback URL field. Errors about callbacks mention "callback". ### Disallowed protocols