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 Oct 7, 2021. It is now read-only.
Sometimes the async call to get the temporary credentials from Cognito after the Google authentication does not return the credentials and it requires to authenticate a second time. Working on a better callback strategy.
The text was updated successfully, but these errors were encountered:
Thanks for putting this together it was very useful. I also had the problem with the google authentication but it wasn't intermittent. I think the issue is that the google authentication is called from a different component (google-signin) from the testgoogle function (app). This means that the googlecallback is called in google-signin not app so the loggedInCreds doesn't get set in app. I added this.awsService.getgoogleData(this); to the testGoogle function to force the local googleCallback to be called, and it seems to work now. Thanks again for putting the example together it was an really big help in my understanding of this area.
Sometimes the async call to get the temporary credentials from Cognito after the Google authentication does not return the credentials and it requires to authenticate a second time. Working on a better callback strategy.
The text was updated successfully, but these errors were encountered: