Skip to content

Commit

Permalink
Added support for amazoncognito
Browse files Browse the repository at this point in the history
  • Loading branch information
hassan254-prog committed Jan 25, 2024
1 parent b3f84fd commit 0284f9a
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docs-v2/integrations/all/amazoncognito.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Amazoncognito
sidebarTitle: Amazoncognito
---

API configuration: [`amazoncognito`](https://nango.dev/providers.yaml)

## Features

| Feature | Status |
| -------------------------------------------------------------------------------- | ------------------------------- |
| [Auth (OAuth)](/guides/oauth) ||
| [Syncs](/guides/sync) & [Actions](/guides/action) | 🚫 |
| [Nango Proxy](/guides/proxy) ||
| [Integration templates](/integration-templates/overview) | 🚫 |
| Auto-pagination | 🚫 (time to contribute: <1h) |
| API-specific rate limits | 🚫 (time to contribute: <1h) |

<Tip>We can implement missing features in &lt;48h, just ask for it in the [community](https://nango.dev/slack).</Tip>

## Getting started

- [How to create a user pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-as-user-directory.html)
- [OAuth-related docs](https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html)
- [List of OAuth scopes](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html)

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

## Connection configuration in Nango

Amazon cognito uses different domain extensions codes for different regions, i.e `us-east-2` for the US East (Ohio) region, `us-east-1` for the US East (N. Virginia) region, or `eu-west-1` for Europe (Ireland) region.It also uses different subdomains for different `user pools`.


## API gotchas

<Note>Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/amazoncognito.mdx)</Note>
1 change: 1 addition & 0 deletions docs-v2/integrations/dev-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sidebarTitle: Developer Tools

<CardGroup cols={4}>
<Card title="Amazon" href="/integrations/all/amazon" color="#68a063" />
<Card title="Amazoncognito" href="/integrations/all/amazoncognito" color="#68a063" />
<Card title="Atlassian" href="/integrations/all/atlassian" color="#68a063" />
<Card title="Bitbucket" href="/integrations/all/bitbucket" color="#68a063" />
<Card title="Digital Ocean" href="/integrations/all/digitalocean" color="#68a063" />
Expand Down
1 change: 1 addition & 0 deletions docs-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
"integrations/all/ashby",
"integrations/all/atlassian",
"integrations/all/auth0",
"integrations/all/amazoncognito",
"integrations/all/bamboohr",
"integrations/all/battlenet",
"integrations/all/bitbucket",
Expand Down
13 changes: 13 additions & 0 deletions packages/shared/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ amazon:
grant_type: refresh_token
proxy:
base_url: https://api.amazon.com
amazoncognito:
auth_mode: OAUTH2
authorization_url: https://${connectionConfig.subdomain}.auth.${connectionConfig.extension}.amazoncognito.com/oauth2/authorize
token_url: https://${connectionConfig.subdomain}.auth.${connectionConfig.extension}.amazoncognito.com/oauth2/token
token_params:
grant_type: authorization_code
auth:
response_type: code
refresh_params:
grant_type: refresh_token
default_scopes:
- openid
docs: https://docs.aws.amazon.com/cognito
amplitude:
auth_mode: BASIC
proxy:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0284f9a

Please sign in to comment.