diff --git a/docker/ory-dev/generate-users.sh b/docker/ory-dev/generate-users.sh new file mode 100644 index 0000000..559b2d6 --- /dev/null +++ b/docker/ory-dev/generate-users.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +# Check if the number of arguments is correct +if [ $# -ne 2 ]; then + echo "Usage: $0 " + exit 1 +fi + +# Get the schema ID and count from the arguments +schema_id=$1 +count=$2 + +# Loop through the count +for i in $(seq 1 $count); do + + # Create the JSON data with the email and name + data=$(cat <