damp-fountain-38244
02/03/2025, 11:36 PMdazzling-nightfall-42114
02/04/2025, 12:08 AMdamp-fountain-38244
02/04/2025, 12:56 AMhigh-bird-10048
02/04/2025, 2:41 AMflow=$(curl -s -X GET -H "Accept: application/json" "https://$host/self-service/login/api" | jq -r '.id')
session_token=$(curl -s -X POST -H "Accept: application/json" -H "Content-Type: application/json" -d '{"password_identifier": "<mailto:bot@domain.com|bot@domain.com>", "password": "mypass", "method": "password"}' "https://$host/self-service/login?flow=$flow" | jq -r '.session_token')