Login with Password or Code

Open
#36 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale

Research direction

Start by reviewing the POST /v1/user-service/user/login endpoint and its documented response fields, especially accessMethod, loginType, tfaKey, and the empty tokens. Clarify whether the verification code can be retrieved programmatically or whether code verification can be disabled, and document the supported password-only or code-only request behavior.

Written by the indexing model from the issue text.

Description

When I login with my password it returns:
Array ( [accessToken] => [refreshToken] => [expiresIn] => 0 [refreshExpiresIn] => 0 [tfaKey] => [accessMethod] => [loginType] => verifyCode )

Can I programmatically grab this code? or disable code verification some how so I can just use my password??

POST https://api.bambulab.com/v1/user-service/user/login
Request

Either login with password OR verification code, not both

{
"account": "",
"password":"",
"code": "",
}

Dominant language
No language data
Stars
682
Forks
96
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Doridian/OpenBambuAPI

All issues in Doridian/OpenBambuAPI

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.