dry-magazine-90630
05/06/2024, 4:15 PMory auth
and signing in)microscopic-painter-84459
05/06/2024, 5:02 PM#!/bin/bash
/usr/bin/expect <<'EOF'
set ORYUSERNAME $env(ORY_USERNAME)
set ORYPASSWORD $env(ORY_PASSWORD)
spawn ory auth
expect "Do you want to sign in to an existing Ory Network account?"
send -- "y\r"
expect "Email:"
send -- "$ORYUSERNAME\r"
expect "Password:"
send -- "$ORYPASSWORD\r"
expect eof
EOF
dry-magazine-90630
05/06/2024, 5:41 PMrefined-kangaroo-48640
05/06/2024, 6:18 PM