Merge pull request #636 from openziti/fix-zrok-share-bash

remove the extra escape from email pattern when reserving a share
This commit is contained in:
Kenneth Bingham 2024-06-04 10:03:30 -04:00 committed by GitHub
commit 8e4a4a8069
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
## v0.4.30
FIX: Fix to the Node.js release process to properly support releasing on a tag.
FIX: Correct the syntax for the Docker and Linux zrok-share "frontdoor" service that broke OAuth email address pattern matching
## v0.4.29

View File

@ -133,7 +133,7 @@ if [[ -n "${ZROK_OAUTH_PROVIDER:-}" ]]; then
ZROK_CMD+=" --oauth-provider ${ZROK_OAUTH_PROVIDER}"
if [[ -n "${ZROK_OAUTH_EMAILS:-}" ]]; then
for EMAIL in ${ZROK_OAUTH_EMAILS}; do
ZROK_CMD+=" --oauth-email-address-patterns '${EMAIL}'"
ZROK_CMD+=" --oauth-email-address-patterns ${EMAIL}"
done
fi
elif [[ -n "${ZROK_BASIC_AUTH:-}" ]]; then