-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
part of #275
- steps 1-5 must be done first from issue prepwork for retrieving client configuration (OrgRules) from FES #339
- remove toast message from step 5 from issue prepwork for retrieving client configuration (OrgRules) from FES #339
- 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.
Here's an example: https://fes.flowcrypt.com/api/v1/client-configuration?domain=flowcrypt.com
Reactions are currently unavailable