Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anonymous Auth doesn't work with npx ampx pipeline-deploy #5434

Open
2 of 14 tasks
verygoodstefan opened this issue Sep 9, 2024 · 1 comment
Open
2 of 14 tasks

Anonymous Auth doesn't work with npx ampx pipeline-deploy #5434

verygoodstefan opened this issue Sep 9, 2024 · 1 comment
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

Comments

@verygoodstefan
Copy link

Description

I have an Amplify project that uses amplify_auth_cognito_dart and fetches guest authentication data via fetchAuthSession. When I deploy the AWS resources for this project using npx ampx sandbox, I am able to consistently fetch the same identityPool ID on multiple calls to fetchAuthSession. When I deploy the project using npx ampx pipeline-deploy, however, calls to fetchAuthSession 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

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Setup auth via AmplifyAuthCognitoDart.
  2. Deploy resources via npx ampx pipeline-deploy
  3. Call fetchAuthSession multiple times, and inspect the identityId result.

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.22.1

Amplify Flutter Version

0.11.3 (Amplify Auth Cognito Dart)

Deployment Method

Custom Pipeline

Schema

No response

@github-actions github-actions bot added pending-triage This issue is in the backlog of issues to triage pending-maintainer-response Pending response from a maintainer of this repository labels Sep 9, 2024
@tyllark
Copy link
Member

tyllark commented Sep 10, 2024

Hi @verygoodstefan, thank you for submitting this issue. We will take a look at this issue and get back to you when we have any updates or questions.

@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Sep 10, 2024
@tyllark tyllark added auth Issues related to the Auth Category pending-maintainer-response Pending response from a maintainer of this repository to-be-reproduced Issues that have not been reproduced yet, but have reproduction steps provided labels Sep 10, 2024
@Equartey Equartey added question A question about the Amplify Flutter libraries and removed pending-maintainer-response Pending response from a maintainer of this repository pending-triage This issue is in the backlog of issues to triage labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants