Skip to content

Verify the Sign-In Code

Complete the OTP flow, establish the human session, and move into the workspace or terminal workflow.

Best for Human member and CLI user Updated April 3, 2026
CLI In this interface
4 steps Steps
3 interfaces Available in
Use this path when

Verify the code from the terminal and let the CLI store the returned session tokens for the current profile.

What you'll finish here
  • Submit the code in the correct place.
  • Capture the returned session tokens when using the API or CLI.
  • Land in the right post-verification surface.

Where this happens

LabelValueNotes
Command./backlog.sh auth verify-otp <email> <code> [options]Verifies the code and persists the session.

Same Task, Other Interfaces

Use the version that matches where you are working now. The subject matter stays the same; the delivery changes by surface.

Do the work

  1. 1. Run `./backlog.sh auth verify-otp you@example.com 123456 --label "Local CLI"` after the code arrives.
  2. 2. Pass `--purpose signup` when the OTP request was made through the sign-up path.
  3. 3. Read the returned JSON and confirm that access and refresh tokens were issued.
  4. 4. Run `./backlog.sh me` next if you want to confirm the authenticated principal immediately.

Keep Going in Sign In and Sessions

Stay in the same interface and move to the next closest task in this topic when needed.

Nearby Guides

These guides stay close to the current workflow so you can keep moving without restarting discovery.