What is this about?
Wrong authentication property key for Segment event in app/core/SecureKeychain.js discovered while doing QA:
The event props should look like:
await MetaMetrics.getInstance().addTraitsToUser({
[UserProfileProperty.AUTHENTICATION_TYPE]: AUTHENTICATION_TYPE.PASSWORD,
});
instead of
await MetaMetrics.getInstance().addTraitsToUser({
[NATIVE_AUTH_TYPE]: AUTHENTICATION_TYPE.PASSWORD,
});
Also, fix typo on UserProfilePropery to UserProfileProperty
Scenario
No response
Design
No response
Technical Details
In app/core/SecureKeychain.js, replace NATIVE_AUTH_TYPE by UserProfileProperty.AUTHENTICATION_TYPE
Threat Modeling Framework
No response
Acceptance Criteria
- Auth events are sent with the correct auth property key in Segment:
Traits should look like:
"traits": {
"$city": "",
"$country_code": "FR",
"$region": "NOR",
"$timezone": "Europe/Paris",
"Authentication Type": "password",
},
Instead of :
"traits": {
"$city": "",
"$country_code": "FR",
"$region": "NOR",
"$timezone": "Europe/Paris",
"[object Object]": "password"
},
- typo fixed
Stakeholder review needed before the work gets merged
References
No response
What is this about?
Wrong authentication property key for Segment event in app/core/SecureKeychain.js discovered while doing QA:
The event props should look like:
instead of
Also, fix typo on
UserProfileProperytoUserProfilePropertyScenario
No response
Design
No response
Technical Details
In
app/core/SecureKeychain.js, replaceNATIVE_AUTH_TYPEbyUserProfileProperty.AUTHENTICATION_TYPEThreat Modeling Framework
No response
Acceptance Criteria
Traits should look like:
Stakeholder review needed before the work gets merged
References
No response