connect-vtexid
Version:
VTEX ID Authentication middleware for Connect
49 lines (46 loc) • 2.82 kB
JSON
{
"authorizedUser": {
"userId": "014cf4ee-d73e-4412-80a6-e25a826a280a",
"user": "vitor.mattos@vtex.com.br",
"userType": "F"
},
"unauthorizedUser": {
"userId": "0ea3d84a-2946-45b3-b4f7-2e04b9f2d5aa",
"user": "mattos.trk@gmail.com",
"userType": "F"
},
"apiError": {
"error": {
"code": "1",
"message": "Length of the data to decrypt is invalid.",
"exception": {
"ClassName": "Vtex.Practices.ServiceModel.Client.Exceptions.InternalServerErrorException",
"Message": "Length of the data to decrypt is invalid.",
"Data": null,
"InnerException": {
"ClassName": "System.Security.Cryptography.CryptographicException",
"Message": "Length of the data to decrypt is invalid.",
"Data": {},
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)\r\n at System.Security.Cryptography.CryptoStream.FlushFinalBlock()\r\n at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)\r\n at System.IO.Stream.Close()\r\n at System.IO.StreamReader.Dispose(Boolean disposing)\r\n at System.IO.TextReader.Dispose()\r\n at Vtex.Id.Cryptografy.Crypt.TripleDESdecrypt(String crypt, String key)\r\n at Vtex.Id.Services.AuthenticationServices.GetAuthenticatedUserId(String authToken)\r\n at Vtex.Id.Services.AuthenticationServices.GetAuthenticatedUser(String authToken)\r\n at Vtex.Id.WebApiService.VtexIdServiceController.GetAuthenticatedUser(String authToken)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nTransformFinalBlock\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Security.Cryptography.CryptoAPITransform\nByte[] TransformFinalBlock(Byte[], Int32, Int32)",
"HResult": -2146233296,
"Source": "mscorlib",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": null,
"WatsonBuckets": null
}
}
},
"badToken": null
}