civiform icon indicating copy to clipboard operation
civiform copied to clipboard

Deployment unnecessarily asks for secrets

Open nbeloglazov opened this issue 3 years ago • 0 comments

During initial deployment we ask for some secret values (related to auth). CiviForm doesn't accept empty values so we ask user to put something. Normally during initial deployment user doesn't have all necessary values so they just put random values. Later those values can be updated from AWS secrets manager. WIth that approach there is no need to ask for those values at all as we can pre-populate with some random values ourselves.

Even better would be to leave default values empty. And change CiviForm to recognize empty values and show it during login. For example if auth is not configures properly, when login is clicked civiform shows something like "auth is not configured, follow instructions on docs.civiform.dev/... to configure auth".

nbeloglazov avatar Oct 20 '22 16:10 nbeloglazov