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 {de19ec30-4cc9-4697-93f0-fb018d16efc8} 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:13895 Application started. Press Ctrl+C to shut down. 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":[["shalmymej@gmail.com","Shalom","Emejulu"]],"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:C335","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A336:C336","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 1562 warn: Authentication.Controllers.AccountController[0] userUsername is shalmymej@gmail.com warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Shalom","MiddleName":null,"LastName":"Emejulu","IsFirstLogin":true,"FullName":"Shalom Emejulu","RowVersion":"AAAAAAAEbQ0=","DateCreated":"2023-05-03T11:55:34.9898641","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10629,"UserName":"shalmymej@gmail.com","NormalizedUserName":"SHALMYMEJ@GMAIL.COM","Email":"shalmymej@gmail.com","NormalizedEmail":"SHALMYMEJ@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"5SDI7SNA6S4KEKCEYPIAT6WJFJ5RKFQU","ConcurrencyStamp":"9bb3eada-df2e-44e5-a030-24da306e5e18","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: shalmymej@gmail.com - Shalom Emejulu role is gotten warn: Authentication.Controllers.AccountController[0] serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU2hhbG9tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA2MjkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJzaGFsbXltZWpAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoic2hhbG15bWVqQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2xvY2FsaXR5IjoiMCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IlNUVURFTlQiLCJleHAiOjE2ODMxOTc3MzcsImlzcyI6InNraWxsYmV0YV9yaXZldF9zdHVkaW8iLCJhdWQiOiJTa2lsbEJldGFSaXZldFN0dWRpbyJ9._ZJ2TPJbXdY6a0EcouYpRTDs2Ft4s6kMk2ERBWHsCeo","refreshToken":"o9iM8S1+aZDUip/KY6OLppbTo7rV4IjXtu8T3Wn7qhA=","accesstoken_Expires":"2023-05-04T10:55:37Z","refreshToken_Expires":"2023-05-03T12:55:37.1089577+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10629,"StudentProfile":10430,"UserName":"shalmymej@gmail.com","InstitutionId":0,"FirstName":"Shalom","LastName":"Emejulu"} warn: Authentication.Controllers.AccountController[0] external login info from googleresponse warn: Authentication.Controllers.AccountController[0] external login result from googleresponse --> {"Succeeded":true,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} warn: Authentication.Controllers.AccountController[0] result succeeded from googleresposne warn: Authentication.Controllers.AccountController[0] userUsername is shalmymej@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"Shalom","MiddleName":null,"LastName":"Emejulu","IsFirstLogin":true,"FullName":"Shalom Emejulu","RowVersion":"AAAAAAAEbQ0=","DateCreated":"2023-05-03T11:55:34.9898641","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10629,"UserName":"shalmymej@gmail.com","NormalizedUserName":"SHALMYMEJ@GMAIL.COM","Email":"shalmymej@gmail.com","NormalizedEmail":"SHALMYMEJ@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"5SDI7SNA6S4KEKCEYPIAT6WJFJ5RKFQU","ConcurrencyStamp":"9bb3eada-df2e-44e5-a030-24da306e5e18","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Shalom","MiddleName":null,"LastName":"Emejulu","IsFirstLogin":true,"FullName":"Shalom Emejulu","RowVersion":"AAAAAAAEbQ0=","DateCreated":"2023-05-03T11:55:34.9898641","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10629,"UserName":"shalmymej@gmail.com","NormalizedUserName":"SHALMYMEJ@GMAIL.COM","Email":"shalmymej@gmail.com","NormalizedEmail":"SHALMYMEJ@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"5SDI7SNA6S4KEKCEYPIAT6WJFJ5RKFQU","ConcurrencyStamp":"9bb3eada-df2e-44e5-a030-24da306e5e18","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: shalmymej@gmail.com - Shalom Emejulu role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU2hhbG9tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA2MjkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJzaGFsbXltZWpAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoic2hhbG15bWVqQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2xvY2FsaXR5IjoiMCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IlNUVURFTlQiLCJleHAiOjE2ODMxOTc3NDEsImlzcyI6InNraWxsYmV0YV9yaXZldF9zdHVkaW8iLCJhdWQiOiJTa2lsbEJldGFSaXZldFN0dWRpbyJ9.tzkwVfY8agOc8WOWtVN4HaLTDsqu_DL8iy1LUvmMPhw","refreshToken":"Mc8UGKwxhZ/mOsp+rcefsiI1m6iWAGoLM5PNgxsJXgc=","accesstoken_Expires":"2023-05-04T10:55:41Z","refreshToken_Expires":"2023-05-03T12:55:41.758331+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10629,"StudentProfile":10430,"UserName":"shalmymej@gmail.com","InstitutionId":0,"FirstName":"Shalom","LastName":"Emejulu"} warn: Microsoft.AspNetCore.Identity.UserManager[0] Invalid password for user 10629. warn: Microsoft.AspNetCore.Identity.SignInManager[2] User 10629 failed to provide the correct password. warn: Authentication.Controllers.AccountController[0] external login info from googleresponse warn: Authentication.Controllers.AccountController[0] external login result from googleresponse --> {"Succeeded":true,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} warn: Authentication.Controllers.AccountController[0] result succeeded from googleresposne warn: Authentication.Controllers.AccountController[0] userUsername is shalmymej@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"Shalom","MiddleName":null,"LastName":"Emejulu","IsFirstLogin":true,"FullName":"Shalom Emejulu","RowVersion":"AAAAAAAEbQ0=","DateCreated":"2023-05-03T11:55:34.9898641","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10629,"UserName":"shalmymej@gmail.com","NormalizedUserName":"SHALMYMEJ@GMAIL.COM","Email":"shalmymej@gmail.com","NormalizedEmail":"SHALMYMEJ@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"5SDI7SNA6S4KEKCEYPIAT6WJFJ5RKFQU","ConcurrencyStamp":"9bb3eada-df2e-44e5-a030-24da306e5e18","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Shalom","MiddleName":null,"LastName":"Emejulu","IsFirstLogin":true,"FullName":"Shalom Emejulu","RowVersion":"AAAAAAAEbQ0=","DateCreated":"2023-05-03T11:55:34.9898641","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10629,"UserName":"shalmymej@gmail.com","NormalizedUserName":"SHALMYMEJ@GMAIL.COM","Email":"shalmymej@gmail.com","NormalizedEmail":"SHALMYMEJ@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"5SDI7SNA6S4KEKCEYPIAT6WJFJ5RKFQU","ConcurrencyStamp":"9bb3eada-df2e-44e5-a030-24da306e5e18","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: shalmymej@gmail.com - Shalom Emejulu role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiU2hhbG9tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA2MjkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJzaGFsbXltZWpAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoic2hhbG15bWVqQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2xvY2FsaXR5IjoiMCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcm9sZSI6IlNUVURFTlQiLCJleHAiOjE2ODMyMDAzMDMsImlzcyI6InNraWxsYmV0YV9yaXZldF9zdHVkaW8iLCJhdWQiOiJTa2lsbEJldGFSaXZldFN0dWRpbyJ9.4WtX6rhSlTPGNhF3gL7pME7DvrPwCuKf3xdc_oQ8H74","refreshToken":"RjU2jXZL6mYdV7AEbRrU8TYIU8aAPXLy1nf0Llmt7YI=","accesstoken_Expires":"2023-05-04T11:38:23Z","refreshToken_Expires":"2023-05-03T13:38:23.236862+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10629,"StudentProfile":10430,"UserName":"shalmymej@gmail.com","InstitutionId":0,"FirstName":"Shalom","LastName":"Emejulu"} warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Microsoft.AspNetCore.Identity.UserManager[0] Invalid password for user 10628. warn: Microsoft.AspNetCore.Identity.SignInManager[2] User 10628 failed to provide the correct password. warn: Authentication.Controllers.AccountController[0] Role is STUDENT