Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pwntus/vuex-cognito-module


https://github.com/pwntus/vuex-cognito-module

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# vuex-cognito-module

Vuex module to interface with AWS Cognito

Install:
```bash
yarn add @vuetify/vuex-cognito-module
```

Import into your project's entry point (main.js in most Vue projects)
```js
import attachCognitoModule from '@vuetify/vuex-cognito-module';
```

Attach cognito module to the store
```js
import store from './store';
attachCognitoModule(store, {
userPoolId: 'your-data-here',
identityPoolId: 'your-data-here',
userPoolWebClientId: 'your-data-here',
region: 'your-data-here',
}, 'cognito')
```