Skip to Content
dFlow
Path

dflow auth:register

Create a user. When email verification is on, print where the verify command was delivered.

dflow auth:register --email EMAIL

Flags

--email. --password is a usage error. The CLI prints a password must be 12 to 128 characters, then Password: and Re-enter password:, and reads both with echo off. They must match. An email it cannot accept is enter a valid email and does not ask for a password. A password outside 12 to 128 characters is the same rule as an error and does not call the API. --api optional. Omitted means the saved default from dflow context:use, or https://k8s.dflow.sh when none is saved.

What you see

The terminal prints when the API returns an access token, the same context, api, and token present lines as login, plus org when the response includes workspace_id. That id is saved as org. When it does not, email and, when present, delivery of log or smtp plus next naming dflow auth:verify TOKEN. The password and the verify token are not printed. The exit code is 0.

How is this guide?

Last updated on

On this page