/** 本機 k6 / dev 預設值，可在登入頁覆寫 */
export const DEFAULT_TENANT = 'k6-tenant';
export const DEFAULT_INVITE = 'K6INVITE';
/** 與 Gateway Member.OTP.ResendCooldownSeconds 預設一致 */
export const OTP_RESEND_COOLDOWN_SECONDS = 60;

/** OAuth 完成後由前端承接，再 proxy 呼叫 Gateway callback */
export function oauthRedirectUri(path: '/auth/callback/login' | '/auth/callback/register'): string {
  return `${window.location.origin}${path}`;
}
