From 16902e4f07a0ca3692d6c1f448f508fc3e39b14b Mon Sep 17 00:00:00 2001 From: Bram Kn Date: Thu, 13 Jul 2023 11:07:41 +0200 Subject: [PATCH] add exact online Provider (#747) * add exact online * Create exact-online.mdx new file * Update exact-online.mdx fix doc * Update mint.json add to list * Update providers.yaml Add token_expiration_buffer --------- Co-authored-by: Bastien Beurier --- docs-v2/integrations/all/exact-online.mdx | 31 +++++++++++++++++++++++ docs-v2/mint.json | 1 + packages/shared/providers.yaml | 12 +++++++++ 3 files changed, 44 insertions(+) create mode 100644 docs-v2/integrations/all/exact-online.mdx diff --git a/docs-v2/integrations/all/exact-online.mdx b/docs-v2/integrations/all/exact-online.mdx new file mode 100644 index 00000000000..afeae26abd8 --- /dev/null +++ b/docs-v2/integrations/all/exact-online.mdx @@ -0,0 +1,31 @@ +--- +title: Exact Online +sidebarTitle: Exact Online +--- + +API Configuration: [`exact-online`](https://nango.dev/providers.yaml) + +## Features + +| Feature | Status | +| -------------------------------------------------------------------------------- | ------------------------------- | +| [Auth (OAuth)](/guides/oauth) | ✅ | +| [Sync](/guides/sync) | 🚫 (time to contribute: <1h) | +| [Nango Proxy](/guides/proxy) | 🚫 (time to contribute: <1h) | +| [Auto-pagination](/nango-sync/configuration#auto-pagination) | 🚫 (time to contribute: <1h) | +| [API-specific rate limits](/nango-sync/configuration#rate-limits-retry-policies) | 🚫 (time to contribute: <1h) | + +We can implement missing features in <48h, just ask for it in the [community](https://nango.dev/slack). +## Getting started + +- Register your app on the [Dev Portal](https://apps.exactonline.com/) +- Nango implements the [Auth Web APIs mentioned here](https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-gettingstarted) (specifically, it implements the `authorization code` flow). + +Need help getting started? Get help in the [community](https://nango.dev/slack). + +## API gotchas + +- Access Token refreshes are only possible in the last 30 seconds of the last one being valid, or of course when there is no valid Access Token anymore. +- Access Tokens stay valid for only 10 minutes. + +Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/exact-online.mdx) diff --git a/docs-v2/mint.json b/docs-v2/mint.json index 54ed3b9af76..9b9ebf72ad2 100644 --- a/docs-v2/mint.json +++ b/docs-v2/mint.json @@ -152,6 +152,7 @@ "integrations/all/dropbox", "integrations/all/docusign", "integrations/all/epic-games", + "integrations/all/exact-online", "integrations/all/facebook", "integrations/all/factorial", "integrations/all/figjam", diff --git a/packages/shared/providers.yaml b/packages/shared/providers.yaml index f9d73a00565..86d988aa05e 100644 --- a/packages/shared/providers.yaml +++ b/packages/shared/providers.yaml @@ -219,6 +219,18 @@ epic-games: authorization_url: https://www.epicgames.com/id/authorize token_url: https://api.epicgames.dev/epic/oauth/v1/token authorization_method: header +exact-online: + auth_mode: OAUTH2 + authorization_url: https://start.exactonline.${connectionConfig.params.extension}/api/oauth2/auth + token_url: https://start.exactonline.${connectionConfig.params.extension}/api/oauth2/token + authorization_method: header + authorization_params: + response_type: code + token_params: + grant_type: authorization_code + refresh_params: + grant_type: refresh_token + token_expiration_buffer: 30 factorial: auth_mode: OAUTH2 authorization_url: https://api.factorialhr.com/oauth/authorize