Amplify-console: Issue with Access control in AWS Amplify

Created on 1 Oct 2019  路  21Comments  路  Source: aws-amplify/amplify-console

To Reproduce
Steps to reproduce the behavior:

  1. Go to Amplify Console
  2. Click on Access control
  3. Click button Manage access
  4. Disable "Apply a global password - OFF"
  5. Save

After performing the above steps, the password is still required to access the website
How to clear it?
I do not use any cache tool.
Does anyone have a problem like me?

bug pending-customer-response

Most helpful comment

@Espen-Ellevseth @mansiva @BenSaus we are going to invesitgate this ASAP.

All 21 comments

We are experiencing the same issue with branch-specific passwords. We have disabled them in the Amplify Console but users are asked regardlessly.

@swaminator Is this something you could help with? Our production system is not usable at the moment which is ... a bummer...

Our Amplify App ID: d2026ifwonkk3h

Just tried it - confirmed. When I add password protection to a branch and remove it after that, the domain still asks for a username/password via htaccess.

@shiruba @visusnet @tranthang212 Thanks for the info and for reporting this issue. We're looking into it as we speak.

I have the same problems. Existing login branches can't be changed, either by changing username + password or changing to publicly-accessible. New deployment branches are stuck with public access, can't configure for username + password

@0luftballoons @shiruba @visusnet @tranthang212 we are rolling out a fix shortly. I'll update this thread when it's ready.

@0luftballoons @shiruba @visusnet @tranthang212 the fix is rolled out. Please try updating the access control settings once more and let me know if it works.

I think it mostly works. Took existing deployed branch (public access), and did the following access changes
public --> login required (ok) --> public (ok) --> login (nope, still public) --> change username, pw (get login, but can't login, maybe user error?) --> change username, pw (ok)

I'd like to see what happens when deploying a new branch and then changing access to require login before the branch deploys, but I'm just about to start a real software release and don't want to cause any problems :)

@swaminator It worked. Thanks for the update.

Seems like this issue is back and I haven't yet been able to resolve it. @swaminator @dabit3 is this something you could help with?

Steps to recreate

  1. create develop and production branches
  2. apply global username/password
  3. remove global username/password
  4. apply develop branch-specific username/password
  5. apply production branch-specific username/password
  6. remove production branch-specific username/password

This is with a custom domain, production points to the root and develop points to develop.root.com.

The result is as if steps 3-6 had not been completed. The production branch still has a password and it's the global username/password combo that was created in step 2. Removing passwords from both branches doesn't work, neither does a redeploy of the whole app (both branches).

Any tips to get the production branch working in the short term? Or will I need to create a new branch and redirect my custom root domain to that?

Hi @kieran9176,

Thanks for reporting. I will take a look and get back to you.

Any progress on this issue or work arounds? I have a site that needs to go into production soon and this could be a problem.

Hello, we're facing the same issue.

I added access control individually per branch but password wasn't being asked for everyone, maybe due to caching. So I removed access control from all branches but password it still being asked a few hours after the change was made, does anyone know if there's a delay or something? I've tried clearing the local cache and using a different device in incognito but password is still being asked.

In case anyone else has the issue I was able to resolve by setting a new password for the branches that had issues, waiting a bit (not sure if that's necessary) and then removing the password.

I also have this problem. I've been trying to remove the Access Control by removing password in the Amplify Console. The password box still appears, however the password will no longer work. I've tried from a clean browser, same result.

Is there a timeline for fixing this problem?

@Espen-Ellevseth @mansiva @BenSaus we are going to invesitgate this ASAP.

I experienced the same issue today, this solved the issue for me :

  1. clic "manage access"
  2. restrict again the branch that has the issue
  3. clear username and passwords fields
  4. set again the branch to be publicly viewable then save

I also managed to remove the password using @alanpilloud's procedure with the difference that my password was global.

What I did:

  1. Turn off the global password
  2. Set a branched password and save.
  3. Remove the branched password using the procedure (Removing the text in username/password and setting public).

@Espen-Ellevseth @mansiva @BenSaus @alanpilloud , we rolled out a fix recently for the above issue. Could you verify if it works on your end?

@abhi7cr sorry for responding this late. I did not experienced this issue since then. Thanks a lot !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gherrera-gesintel picture gherrera-gesintel  路  4Comments

hassankhan picture hassankhan  路  4Comments

dongjason1 picture dongjason1  路  3Comments

ayotise picture ayotise  路  4Comments

adamaltman picture adamaltman  路  3Comments