# Is it possible to integrate Auth0 Lock for web or Auth0 SPA js to Amazon Cognito User Pools?

**URL:** <https://community.auth0.com/t/is-it-possible-to-integrate-auth0-lock-for-web-or-auth0-spa-js-to-amazon-cognito-user-pools/36282>\
**Category:** Get Help\
**Tags:** amazon-cognito, aws\
**Created:** [January 14, 2020, 9:18am UTC](https://community.auth0.com/t/is-it-possible-to-integrate-auth0-lock-for-web-or-auth0-spa-js-to-amazon-cognito-user-pools/36282 "2020-01-14T09:18:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hide.okamoto](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hide.okamoto/32/18493_2.png) [@hide.okamoto](https://community.auth0.com/u/hide.okamoto)\
**Post date:** [January 14, 2020, 9:18am UTC](https://community.auth0.com/t/is-it-possible-to-integrate-auth0-lock-for-web-or-auth0-spa-js-to-amazon-cognito-user-pools/36282/1 "2020-01-14T09:18:58Z")

</div>

## Currently

We have a web application using Amazon Cognito User Pools to manage our customers.  
The application made by React and Redux with AWS Amplify SDK  
Using several webhook and trigger from Amazon Cognito User Pools.

## Expected action

We want to migrate to Auth0, but we have to a lot of replacement before migrate it.  
So the first step, we want to replace web application from AWS Amplify SDK to Auth0 web SDKs.  
We want to make the following flow, is it possible?

- Show Sign in form by using Auth0 Lock
- Authorize by Amazon Cognito User Pools’s user data
- Get access token from Auth0.  
I’ve try to read the docs.  
[Integrate with Amazon Cognito - Auth0 Docs](https://auth0.com/docs/integrations/integrating-auth0-amazon-cognito-mobile-apps)

But the docs talk about Cognito Identity Pool, not User Pools.  
And the docs do not shows how to call the Cognito from Auth0.  
Do you have any documentation about it?  
I prefer to use JavaScript / TypeScript.  
Kindly regards.

---

<div class="post-metadata">

**Author:** ![geochronology](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geochronology/32/19476_2.png) [@geochronology](https://community.auth0.com/u/geochronology)\
**Post date:** [February 28, 2020, 10:56pm UTC](https://community.auth0.com/t/is-it-possible-to-integrate-auth0-lock-for-web-or-auth0-spa-js-to-amazon-cognito-user-pools/36282/2 "2020-02-28T22:56:06Z")

</div>

I have exactly the same question and it’s frustrating to have a lack of clear answers in the documentation.
