Search code examples
amazon-web-servicesamazon-cognitoserverless-framework

Use Cognito locally [offline]


I've got a feeling this is a noob question... Is there a way to simulate the use of Cognito User pools locally (so offline)?

I've got a feeling that resorting to aws cognito normal user pools while developing is bit unnecessary. I now that with serverless there's a plugin to use it offline, but didn't found one for cognito.


Solution

  • Recently localstack released a pro version that actually allows to run the cognito locally. It also has several other services that normally are used with cognito so this is the perfect solution for me.

    https://github.com/localstack/localstack