nginxinc/kic-reference-architectures

Login Fails With "Login Failed" on Main Landing Page

qdzlug opened this issue · 2 comments

Describe the bug
When attempting to login, the user receives a login failed message from the webpage. Checking the logs for both the frontend and userservice, errors are seen indicating 500 errors from the latter.

This was previously working, but I am currently looking at PR #30 as a potential cause for this action. One additional note is that the default password from the original application - password - seems to work when the password set in the config map does not work. So this could also be something to do with a change in the underlying images.

To Reproduce
From a fresh environment, run the start_all.sh script and provide passwords when prompted. Once the application has been stood up, attempt to log into the application.

Expected behavior
Login should work with the password set in the Pulumi secrets.

Linux amd64, master branch, following PR #31 commit d472acb

Additional context
None

This appears to be linked to the logic that is using pulumi to get variables for the username/passwords for the internal services and the demo user. For now, a workaround is to directly set these in the __main__.py file in the anthos project directory.

Currently testing to determine what changed and why this is failing now.

Closed by #41