Skip to main content
Version: 6.1.0

MergeOculusIdentity

Merge the user's Oculus credentials with the current profile.

ServiceOperation
identityMERGE

Method Parameters​

ParameterDescription
userIdThe Oculus id of the user
nonceThe returned nonce from the Oculus Platform SDK

Usage​

http://localhost:3000
string userId = "userId";
string nonce = "nonce";

_bc.IdentityService.MergeOculusIdentity(
userId,
nonce,
SuccessCallback, FailureCallback);
JSON Response
{
"data": {
"profileId": "f94f7e2d-3cdd-4fd6-9c28-392f7875e9df"
},
"status": 200
}
Common Error Code

Status Codes​

CodeNameDescription
40211DUPLICATE_IDENTITY_TYPEReturned when trying to attach an identity type that already exists for that profile. For instance you can have only one Twitter identity for a profile.