Headless `coder login`

Is there a way to login to coder in a headless way, i.e. without having to use the browser? I'm running an ansible playbook deploying Coder (v2 OSS), but have not found a way of logging in without using the UI after successfully creating the first user by using coder login --first-user-email <user> --first-user-username <username> --first-user-password <password>.
Was this page helpful?