Closed Yixi closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
6a5f292
) 100.00% compared to head (af63d8a
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
To make the refresh token work, we will need to store gcid
in the HA registry as well.
Proposed change
Add a new nonce algorithm for the China region login, automatically complete the login graphic verification code, restore the login function for the China region, and update the refresh token method.
Type of change
Additional information
Due to the public disclosure of the x-login-nonce algorithm in the Chinese region, the logic has been added to the library. Currently, password login requires a graphical captcha.
The solution we have incorporated allows for automatic bypassing of the graphical captcha obtained from https://gitee.com/cvnc/BMW/blob/master/lib/BMWLogin.js
The refresh token also needs to be included in the header with the x-login-nonce encoded using
gcid
.Checklist