Security feature to authenticate your external user ids and emails sent to OneSignal.
external_user_id
for any record across all channels (Push, Email, SMS)external_user_ids
and/or Email Messaging. For apps and websites that are ‘backendless’ and do not run their own servers, we suggest either creating a minimal server that just verifies users, saving the OneSignal User ID records to your database, or avoid sending sensitive information in user tags and notifications.
<protected_field_value>
.
setEmail
MethodsetEmail
method.
setSMSNumber
MethodsetSMSNumber
method.
setExternalUserId
MethodsetExternalUserId
method.
api/v1/players
), the request must contain the external_user_id_auth_hash
or identifier_auth_hash
parameters.
If you are adding or updating the external_user_id
on a non-email device (device_type
!= 11
), you must use the external_user_id_auth_hash
parameter.
If you are adding or updating the email (identifier
parameter && device_type
= 11
), then any field being updated will need the identifier_auth_hash
(or email_auth_hash
for backwards compatibility) value.
external_user_id
from a device record with Identity Verification enabled, you can set it to an empty string with the auth hash based on the existing external_user_id
value before removal.