OAuth Relay

OAuth 共用認證中繼站

本站僅接收各平台的 OAuth callback,解析 state 後以 302 轉回真正發起授權的租戶網域。不處理 code 換 token,不儲存任何授權資料。

允許的網域

網域後綴

*.s4a.my

完整網域例外

(無)

可用的重新導向 URI

貼到 Google Cloud Console 或 Meta 後台的 Redirect URI 欄位。

  • https://auth.s4a.my/aio/calendar/google/callback
  • https://auth.s4a.my/aio/ads/google/callback
  • https://auth.s4a.my/aio/ads/meta/callback
  • https://auth.s4a.my/aio/postly/oauth/facebook/callback
  • https://auth.s4a.my/aio/postly/oauth/threads/callback
  • https://auth.s4a.my/aio/postly/oauth/linkedin/callback
  • https://auth.s4a.my/aio/postly/oauth/twitter/callback
  • https://auth.s4a.my/aio/messenger/oauth/callback
  • https://auth.s4a.my/relay/{任意路徑}

state 格式

base64( { "tenant": "demo", "nonce": "xxx" } )
// 可選:{ "origin": "https://crm.customer.com" } 覆寫目標,仍需通過白名單