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

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


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

Last synced: 3 months 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')
```