Skip to content

Commit 9f0f28b

Browse files
authored
UID2-3804 Remove advertising_token_v4_percentage env var (#1180)
* Remove `advertising_token_v4_percentage` env var * Always return advertising token v4 in tests * Return token version v4 for EUID as well * Remove duplicated code * Remove PRNG * Remove advertising_token_v3
1 parent 3954046 commit 9f0f28b

17 files changed

+3
-73
lines changed

conf/docker-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"storage_mock": true,
55
"refresh_token_expires_after_seconds": 86400,
66
"refresh_identity_token_after_seconds": 900,
7-
"advertising_token_v3": false,
87
"refresh_token_v3": false,
98
"identity_v3": false,
109
"identity_scope": "uid2",

conf/local-config.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"identity_token_expires_after_seconds": 3600,
1313
"refresh_token_expires_after_seconds": 86400,
1414
"refresh_identity_token_after_seconds": 900,
15-
"advertising_token_v3": false,
16-
"advertising_token_v4_percentage": 0,
1715
"refresh_token_v3": false,
1816
"identity_v3": false,
1917
"identity_scope": "uid2",

conf/local-e2e-docker-private-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"identity_token_expires_after_seconds": 3600,
1515
"refresh_token_expires_after_seconds": 86400,
1616
"refresh_identity_token_after_seconds": 900,
17-
"advertising_token_v3": false,
1817
"refresh_token_v3": true,
1918
"identity_v3": false,
2019
"identity_scope": "uid2",

conf/local-e2e-docker-public-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"identity_token_expires_after_seconds": 3600,
1717
"refresh_token_expires_after_seconds": 86400,
1818
"refresh_identity_token_after_seconds": 900,
19-
"advertising_token_v3": false,
2019
"refresh_token_v3": true,
2120
"identity_v3": false,
2221
"identity_scope": "uid2",

conf/local-e2e-private-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"identity_token_expires_after_seconds": 3600,
1717
"refresh_token_expires_after_seconds": 86400,
1818
"refresh_identity_token_after_seconds": 900,
19-
"advertising_token_v3": false,
2019
"refresh_token_v3": true,
2120
"identity_v3": false,
2221
"identity_scope": "uid2",

conf/local-e2e-public-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"identity_token_expires_after_seconds": 3600,
1717
"refresh_token_expires_after_seconds": 86400,
1818
"refresh_identity_token_after_seconds": 900,
19-
"advertising_token_v3": false,
2019
"refresh_token_v3": true,
2120
"identity_v3": false,
2221
"identity_scope": "uid2",

conf/validator-latest-e2e-docker-public-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"identity_token_expires_after_seconds": 3600,
1818
"refresh_token_expires_after_seconds": 86400,
1919
"refresh_identity_token_after_seconds": 900,
20-
"advertising_token_v3": false,
2120
"refresh_token_v3": true,
2221
"identity_v3": false,
2322
"identity_scope": "uid2",

scripts/aws/conf/default-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@
3434
"failure_shutdown_wait_hours": 120,
3535
"sharing_token_expiry_seconds": 2592000,
3636
"validate_service_links": false,
37-
"advertising_token_v4_percentage": 100,
3837
"operator_type": "private"
3938
}

scripts/aws/conf/prod-euid-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"refresh_identity_token_after_seconds": 3600,
2525
"allow_legacy_api": false,
2626
"identity_scope": "euid",
27-
"advertising_token_v3": true,
2827
"refresh_token_v3": true,
2928
"enable_phone_support": true,
3029
"enable_v1_phone_support": false,

scripts/azure-cc/conf/default-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@
3838
"failure_shutdown_wait_hours": 120,
3939
"sharing_token_expiry_seconds": 2592000,
4040
"validate_service_links": false,
41-
"advertising_token_v4_percentage": 100,
4241
"operator_type": "private"
4342
}

0 commit comments

Comments
 (0)