warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50] Using an in-memory repository. Keys will not be persisted to storage. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {6c7546c9-7c9f-48ea-94a7-d0df6624b514} may be persisted to storage in unencrypted form. Hosting environment: Production Content root path: F:\WebApps\SkillDorm-V1\API-SD\Authentication Now listening on: http://127.0.0.1:31304 Application started. Press Ctrl+C to shut down. warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Url: https://api.skilldorm.com/Notification/ warn: Authentication.Data.Utility.Email.EmailUtilityService[0] EndPoint: api/Email/Send warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: {"data":null,"code":"00","success":true,"description":"Success"} warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: OK--OK--(null) warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Url: https://api.skilldorm.com/Notification/ warn: Authentication.Data.Utility.Email.EmailUtilityService[0] EndPoint: api/Email/Send warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: {"data":null,"code":"00","success":true,"description":"Success"} warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: OK--OK--(null) warn: Authentication.Controllers.AccountController[0] external login info from googleresponse warn: Authentication.Controllers.AccountController[0] external login result from googleresponse --> {"Succeeded":false,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} warn: Authentication.Controllers.AccountController[0] elsesucceeded from googleresponse warn: Authentication.Controllers.AccountController[0] Registering a new user warn: Authentication.Core.Services.GoogleService[0] appendRequest= {"majorDimension":null,"range":null,"values":[["sandraeke7@gmail.com","sandra","eke"]],"ETag":null}, sheetID ="1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA", range ="newlyRegisteredUsers!A1:C" warn: Authentication.Core.Services.GoogleService[0] valueInputeOption= USERENTERED warn: Authentication.Core.Services.GoogleService[0] Googlesheet response= {"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","tableRange":"newlyRegisteredUsers!A1:C111","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A112:C112","updatedRows":1,"ETag":null},"ETag":null} warn: Authentication.Controllers.AccountController[0] About to send Email. warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Url Token : {url} warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Url: https://api.skilldorm.com/Notification/ warn: Authentication.Data.Utility.Email.EmailUtilityService[0] EndPoint: api/Email/Send warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: {"data":null,"code":"00","success":true,"description":"Success"} warn: Authentication.Data.Utility.Email.EmailUtilityService[0] Response from Notification Service: OK--OK--(null) warn: Authentication.Controllers.AccountController[0] Done sending Email. fail: Authentication.Controllers.AccountController[0] Error Sending Email. Details System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.PlatformNotSupportedException: This instance contains state that cannot be serialized and deserialized on this platform. at System.Security.Claims.ClaimsPrincipal.OnSerializingMethod(StreamingContext context) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Newtonsoft.Json.Serialization.JsonContract.<>c__DisplayClass57_0.b__0(Object o, StreamingContext context) at Newtonsoft.Json.Serialization.JsonContract.InvokeOnSerializing(Object o, StreamingContext context) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.OnSerializing(JsonWriter writer, JsonContract contract, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.SerializeObject(Object value) at AuditTrailUtility.AuditTrails.CreateActivityLog(String description, String moduleName, String moduleAction, Int64 userid, Int64 institutionId, Object record, String agent, LogType logType) in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\AuditTrailUtility\AuditTrail.cs:line 73 at Authentication.Controllers.AccountController.GoogleResponse() in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\Authentication\Controllers\AccountController.cs:line 1557 warn: Authentication.Controllers.AccountController[0] userUsername is sandraeke7@gmail.com warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"sandra","MiddleName":null,"LastName":"eke","IsFirstLogin":true,"FullName":"sandra eke","RowVersion":"AAAAAAADU6I=","DateCreated":"2022-08-18T14:24:45.2602616","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10507,"UserName":"sandraeke7@gmail.com","NormalizedUserName":"SANDRAEKE7@GMAIL.COM","Email":"sandraeke7@gmail.com","NormalizedEmail":"SANDRAEKE7@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"WVBGB357A7A5CWV72AXHO6ARK37W2ZWZ","ConcurrencyStamp":"75e5b76e-56c4-4026-b136-b4522e49bc4f","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] user: sandraeke7@gmail.com - sandra eke role is gotten warn: Authentication.Controllers.AccountController[0] serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoic2FuZHJhIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA1MDciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJzYW5kcmFla2U3QGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6InNhbmRyYWVrZTdAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY2MDkxNTQ4NiwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.x-DDYQ06VbgWZfjJqEq7Q_b3RDyZplE0wJl2ymme6CA","refreshToken":"ulCxtkfipjFtFHSEL+r7Je17jE1EadJqjyNQf6p2WJQ=","accesstoken_Expires":"2022-08-19T13:24:46Z","refreshToken_Expires":"2022-08-18T15:24:46.8133573+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10507,"StudentProfile":10310,"UserName":"sandraeke7@gmail.com","InstitutionId":0,"FirstName":"sandra","LastName":"eke"}