Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 516
dege Avatar asked Jan 13 '17 11:01

dege


People also ask

Is Cognito stateless?

The ID Token issued by AWS Cognito User Pool is a JWT token, which is Signed By AWS. Once issued the token is valid for 1 hour. Within this 1 hour, there is no way of revoking the token since its stateless.

Where is Cognito data stored?

The data is stored both locally on the device and in the Cognito sync store. Cognito can also sync this data across all of the end user's devices.

Does Cognito provide SSO?

Your user pool acts as a service provider (SP) on behalf of your application. Amazon Cognito supports SP-initiated single sign-on (SSO) as described in section 5.1.


1 Answers

The AWS SDK doesn't include a local plugin for using Cognito User Pools at this time, however we have heard this request from other customers and will consider it in future releases.

like image 84
Jeff Bailey Avatar answered Sep 18 '22 11:09

Jeff Bailey