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

Support multiple passwords #2369

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Support multiple passwords #2369

merged 1 commit into from
Nov 13, 2023

Conversation

BenSurgisonGDS
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS commented Nov 9, 2023

Several requests have been made for prototypes to support additional temporary passwords that can be given to guest users to use the deployed prototype while maintaining the ability for more permanent users to keep using the main password.

The functionality in this ticket allows for an environment variable PASSWORD_KEYS which is expected to contain a comma separated string that will contain addional environment variable names that can be set for additional passwords.

If the following environment variables exist:

  • PASSWORD=password
  • PASSWORD_KEYS=PASSWORD_01,PASSWORD_02
  • PASSWORD_01=password01
  • PASSWORD_02=password02

then any of the passwords password, password01, or password02 can be used.

@BenSurgisonGDS BenSurgisonGDS force-pushed the support-multiple-passwords branch 2 times, most recently from 9a02866 to a7eb95d Compare November 9, 2023 16:09
@BenSurgisonGDS BenSurgisonGDS marked this pull request as ready for review November 9, 2023 16:25
@BenSurgisonGDS BenSurgisonGDS merged commit 7cf4b01 into main Nov 13, 2023
30 checks passed
@BenSurgisonGDS BenSurgisonGDS deleted the support-multiple-passwords branch November 13, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants