SKUs environment should be configurable via brave://flags
See original GitHub issueTest plan
- Fresh profile
- Visit
brave://flags/#skus-environment
- On Windows and macOS, there should be a value here (
Default
,production
,staging
,development
) and it should be configurable. Linux is not supported at this time - Enable
brave://flags/#skus-sdk
- set this new value (brave://flags/#skus-environment
) todevelopment
- Exit the browser. Start Brave via command line making sure to add logging arguments
--vmodule="*/skus/*"=1 --enable-logging=stderr
- Visit
https://account.brave.software
and log in (@bsclifton can help if basic auth is presented; creds are in 1PW4T or send a DM) - Once logged in, buy VPN
- You should see (in the console where you started Brave) lots of JSON and output from calls which include
refresh_order
There may still be environment issues preventing the credentials from being issued… but as long as the refresh_order
has details, that means the environment specific part worked 😄
Description
We already have brave://flags entries for both VPN and SKU (dependent on each other for Desktop)
- brave://flags/#brave-vpn
- brave://flags/#skus-sdk
But at the moment, environment is defaulting to production
for an official build (otherwise, it uses development
).
There is a command line flag --skus-env
which accepts the following values:
production
staging
development
It would be great to expose this in brave://flags. If Default
, we can default to production. But if overridden, it can use the chosen environment.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How Do I Use Command Line Flags in Brave?
Quit Brave; Open Command Prompt; Enter: "C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe". This will open Brave just as ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Updated test plan to mention just looking for
refresh_order
👍 and noted about environment issuesQA-status update on this: I’ve started testing, but have run into two (related?) issues:
Expired
) - not 100% of the time, but more than notfetch_order_credentials
from the testplan, but we are seeingrefresh_order
calls, as expected.@evq has offered to help take a look; thread here: https://bravesoftware.slack.com/archives/C021S0FN3V1/p1645063771631899
Being honest and marking
QA/Blocked
until the above two items (and any others further) are resolved. But we have a path forward 👍