You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
First off, thanks for this really great sample site. It has already saved me a ton of work.
I'm trying to extend the cognito.js class to include CognitoSyncManager and dataset access (put/get). Something like this:
I added the dependency via npm to package.json:
"amazon-cognito-js": "^1.1.0",
And the import to main.js
import 'amazon-cognito-js'
and this to cognito.js:
import {CognitoSyncManager, Config, CognitoIdentityCredentials} from 'aws-sdk'
Having trouble getting the CognitoSyncManager to recognize the Credentials though. Namely, the line from the CognitoSyncManager constructor
this.provider = AWS.config.credentials
is returning null, breaking everything that follows. Here's an excerpt for their constructor JS:
See anything I'm missing?
The text was updated successfully, but these errors were encountered: