Anonymous Auth doesn't work with npx ampx pipeline-deploy #5434
Labels
auth
Issues related to the Auth Category
question
A question about the Amplify Flutter libraries
to-be-reproduced
Issues that have not been reproduced yet, but have reproduction steps provided
Description
I have an Amplify project that uses
amplify_auth_cognito_dart
and fetches guest authentication data viafetchAuthSession
. When I deploy the AWS resources for this project usingnpx ampx sandbox
, I am able to consistently fetch the same identityPool ID on multiple calls tofetchAuthSession
. When I deploy the project usingnpx ampx pipeline-deploy
, however, calls tofetchAuthSession
return brand new identity pool IDs every time.Is there a reason that multiple calls to
fetchAuthSession
fetch a consistent identityPool ID in sandbox, but not in pipeline deploy?Repo is here. It's a private repo, so if you want to look into the code, let me know and I will invite you.
Categories
Steps to Reproduce
AmplifyAuthCognitoDart
.npx ampx pipeline-deploy
fetchAuthSession
multiple times, and inspect the identityId result.Screenshots
No response
Platforms
Flutter Version
3.22.1
Amplify Flutter Version
0.11.3 (Amplify Auth Cognito Dart)
Deployment Method
Custom Pipeline
Schema
No response
The text was updated successfully, but these errors were encountered: