You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instead of showing toast, call GET <fes>/api/v1/client-configuration?domain=example.com (no authentication). The response is { clientConfiguration: DomainRulesJson }. If this step was not skipped (because FES was not running at all earlier when testing /api/ and this call fails, show error and don't let user proceed unless they can successfully retry this call.
Save this OrgRules json into storage, separately for each account. If it was in storage for this account before, blindly overwrite the previous OrgRules.
part of #275
GET <fes>/api/v1/client-configuration?domain=example.com(no authentication). The response is{ clientConfiguration: DomainRulesJson }. If this step was not skipped (because FES was not running at all earlier when testing/api/and this call fails, show error and don't let user proceed unless they can successfully retry this call.Here's an example: https://fes.flowcrypt.com/api/v1/client-configuration?domain=flowcrypt.com