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

Persistent access control modal on amplify app builds #2436

Open
prabhg opened this issue Jan 21, 2025 · 1 comment
Open

Persistent access control modal on amplify app builds #2436

prabhg opened this issue Jan 21, 2025 · 1 comment
Labels
hosting Issue related to Amplify Hosting pending-community-response Issue is pending a response from the author or community question Question or confusion about some aspect of the product

Comments

@prabhg
Copy link

prabhg commented Jan 21, 2025

Environment information

Package.json content from backend app:

"devDependencies": {
    "@aws-amplify/backend": "^1.3.0",
    "@aws-amplify/backend-cli": "^1.2.5",
    "@types/uuid": "^10.0.0",
    "aws-cdk": "^2.154.1",
    "aws-cdk-lib": "^2.154.1",
    "constructs": "^10.3.0",
    "esbuild": "^0.23.1",
    "tsx": "^4.18.0",
    "typescript": "^5.7.2"
  },
  "dependencies": {
    "@aws-amplify/data-schema": "^1.6.1",
    "@aws-amplify/datastore": "^5.0.49",
    "@aws-amplify/predictions": "^6.1.22",
    "@aws-appsync/utils": "^1.9.0",
    "@aws-lambda-powertools/logger": "^2.8.0",
    "@aws-sdk/client-dynamodb": "^3.656.0",
    "@aws-sdk/client-lambda": "^3.656.0",
    "@aws-sdk/lib-dynamodb": "^3.656.0",
    "@aws-sdk/util-dynamodb": "^3.656.0",
    "@clerk/clerk-js": "^5.18.0",
    "@clerk/clerk-sdk-node": "^5.0.44",
    "@types/aws-lambda": "^8.10.145",
    "@types/jsonwebtoken": "^9.0.6",
    "aws-amplify": "^6.5.2",
    "aws-sdk": "^2.1691.0",
    "axios": "^1.7.2",
    "install": "^0.13.0",
    "jsonwebtoken": "^9.0.2",
    "multipart-parser": "^0.0.2",
    "nanoid": "^5.0.8",
    "node-fetch": "^3.3.2",
    "pg": "^8.13.1",
    "svix": "^1.31.0",
    "uuid": "^10.0.0",
    "zod": "^3.23.8"
  }

Describe the bug

We consistently get a persistent access control modal on our amplify frontend app. Once the username/password is entered, it pops up again after few seconds, and it keeps happening again.

Reproduction steps

Enable the access control on the branch thru amplify console. Visit the url of the app. Notice the AC modal. Enter credentials. Notice that it pops up again after few seconds and process repeats.

@prabhg prabhg added the pending-triage Incoming issues that need categorization label Jan 21, 2025
@ykethan ykethan added the console Issues related to Amplify console UI/UX label Jan 21, 2025
@Jay2113
Copy link

Jay2113 commented Jan 23, 2025

Hi @prabhg 👋 , thanks for reaching out. I wasn't able to reproduce the behavior you outlined with the access control feature. Can you try clearing your browser cache? Also, if you have set custom headers on your app, I recommend redeploying the app.

Additionally, if the issue persists can you capture a HAR file and share it with us? Steps to capture the HAR file are outlined here: https://repost.aws/knowledge-center/support-case-browser-har-file.

@Jay2113 Jay2113 added hosting Issue related to Amplify Hosting pending-community-response Issue is pending a response from the author or community question Question or confusion about some aspect of the product and removed console Issues related to Amplify console UI/UX pending-triage Incoming issues that need categorization labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosting Issue related to Amplify Hosting pending-community-response Issue is pending a response from the author or community question Question or confusion about some aspect of the product
Projects
None yet
Development

No branches or pull requests

3 participants