-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Sometimes credentials are not returned if an error happens during refresh_order_credentials
#32924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
feature/SKUs
OS/Android
Fixes related to Android browser functionality
OS/Desktop
OS/macOS
OS/Windows
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass - Android ARM
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Comments
25 tasks
bsclifton
added a commit
to brave/brave-core
that referenced
this issue
Sep 15, 2023
Fixes brave/brave-browser#32924 Also updates the credential v1 logic - matches the tlv2 conditions.
25 tasks
This was referenced Sep 17, 2023
refresh_order_credentials
refresh_order_credentials
The above requires |
Verification PASSED on
Ensure new purchases work -
|
Connected |
Disconnected |
---|---|
![]() |
![]() |
Existing users (recent purchase) - PASSED
Steps:
- installed
1.60.38
- launched Brave
- loaded
account.bravesoftware.com
- entered basic-auth credentials for staging
- entered
[email protected]
- clicked
Get login link
- in the resulting email, clicked
Log in to Brave
- clicked on
Refresh Brave VPN
button - connected to
Brave VPN
(updated, for me Brave VPN was not in auto connected state, I had to connect it manually) - switched servers/region
- disconnected from
Brave VPN
Refresh Brave VPN |
Loading... |
Connected |
Switch region |
Disconnected |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Confirmed You have active credentials loaded!
banner and working credentials, using previously set up account. Also confirmed ability to switch servers, and cleanly disconnect from Brave VPN
Verification
|
Connected |
Disconnected |
---|---|
![]() |
![]() |
Existing users (recent purchase) - PASSED
Steps:
- installed
1.58.129
- launched Brave
- loaded
account.bravesoftware.com
- entered
[email protected]
- clicked
Get login link
- in the resulting email, clicked
Log in to Brave
- clicked on
Refresh Brave VPN
button - clicked on the
VPN
button - toggled from
Disconnected
toConnected
- switched servers/region
- disconnected from
Brave VPN
Refresh Brave VPN |
Loading... |
Connected |
Switch region |
Disconnected |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Existing users - within 5 days of renewal - PASSED
Steps:
- installed
1.58.129
- launched Brave
- loaded
account.bravesoftware.com
- entered
[email protected]
into the textfield - clicked
Get login link
- in the resulting email, clicked on
Log in to Brave
- confirmed
You have active credentials loaded!
banner - connected to
Brave VPN
- confirmed I could switch servers
- disconnected from
Brave VPN
- opened
brave://skus-internals
- clicked on
Fetch VPN state
- clicked on
Fetch SKUs state
- collapsed the large
creds
block, and looked forunblinded_creds
Confirmed account due for renewal on the 24th
of this month had enough daily credentials to get to the expiration/renewal date of 9-25, UTC
example | example | example | example | example | example |
---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Verification
Ensure new purchases work - PASSED
Steps:
Existing users (recent purchase) -
|
Refresh Brave VPN |
Loading... |
Connected |
Switch region |
Disconnected |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Verified
|
example | example | example | example | example | example | example |
---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Verification
|
example | example | example | example | example | example | example |
---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
New subscription - account.bravesoftware.com
- PASSED
Steps:
- installed
1.58.129
- launched Brave
- loaded
account.bravesoftware.com
- entered basic-auth username/password
- entered
[email protected]
- clicked
Get login link
- in the resulting email, clicked
Log in to Brave
- clicked
Start free trial
- completed Stripe checkout
- confirmed
Success!
/You have active credentials loaded!
banners - tapped on the 3-dots menu
- tapped on
Brave VPN
- tapped
Install VPN Profile
- tapped
OK
- loaded
whatismyipaddress.com
Confirmed I was connected to Brave VPN
example | example | example | example | example |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
example | example | example | example | example |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Existing users (recent purchase) - PASSED
Desktop
Steps:
- installed
1.59.93
- launched Brave
- loaded
account.bravesoftware.com
- purchased, configured, and connected to
Brave VPN
using[email protected]
as the account
example | example | example | example | example | example | example |
---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Android
Steps:
- installed
1.58.129
- launched Brave
- loaded
account.bravesoftware.com
- logged in to the
[email protected]
account - confirmed and clicked on the
Refresh Brave VPN
button - waited
- confirmed
Success!
/You have active credentials loaded!
banner - tapped on the
Brave VPN
menu in the top-level app menu (3-dots menu) - tapped
Install VPN Profile
- tapped
OK
- loaded
whatismyipaddress.com
Confirmed I was connected to Brave VPN
example | example | example | example | example | example | example |
---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature/SKUs
OS/Android
Fixes related to Android browser functionality
OS/Desktop
OS/macOS
OS/Windows
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass - Android ARM
QA Pass-macOS
QA Pass-Win64
QA/Yes
release-notes/include
Test plan
See brave/brave-core#20192
Description
Folks that purchase VPN or link their iOS/Android purchase can get a time limited v2 credential from account.brave.com
As they approach expiry (within 5 days) - a check is made which calls
refresh_order_credentials
. If this encounters an error, no credentials are returned.The text was updated successfully, but these errors were encountered: