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 {a2a8fca3-f9af-4c82-9d98-a36ed16317fd} 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:10238 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":[["oyedaratomiwa@gmail.com","tomiwa","oyedara"]],"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:C303","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A304:C304","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.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, 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.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, 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 oyedaratomiwa@gmail.com warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"tomiwa","MiddleName":null,"LastName":"oyedara","IsFirstLogin":true,"FullName":"tomiwa oyedara","RowVersion":"AAAAAAAETbk=","DateCreated":"2023-03-31T13:25:29.7128358","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10597,"UserName":"oyedaratomiwa@gmail.com","NormalizedUserName":"OYEDARATOMIWA@GMAIL.COM","Email":"oyedaratomiwa@gmail.com","NormalizedEmail":"OYEDARATOMIWA@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"DDZ7DQFATE3VA2ITXTCIGG5KHJFW47B7","ConcurrencyStamp":"46bbc7f8-3886-4fb5-8968-20be5251595d","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: oyedaratomiwa@gmail.com - tomiwa oyedara role is gotten warn: Authentication.Controllers.AccountController[0] serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoidG9taXdhIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA1OTciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJveWVkYXJhdG9taXdhQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im95ZWRhcmF0b21pd2FAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY4MDM1MTkzMSwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.AOkS4WXNdva_p5iaeCtpSCVDvZj2gda5H8Z860TLEiw","refreshToken":"ga3T32YJK1xqEQmdQaWkazet98FPA/FDZBTeoFl8Ouc=","accesstoken_Expires":"2023-04-01T12:25:31Z","refreshToken_Expires":"2023-03-31T14:25:31.5933968+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10597,"StudentProfile":10398,"UserName":"oyedaratomiwa@gmail.com","InstitutionId":0,"FirstName":"tomiwa","LastName":"oyedara"} warn: Authentication.Controllers.AccountController[0] student created Chinyere warn: Authentication.Core.Services.GoogleService[0] appendRequest= {"majorDimension":null,"range":null,"values":[["chichi.ahamba@gmail.com","Chinyere","Ahamba"]],"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:C304","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A305:C305","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. warn: Authentication.Controllers.AccountController[0] Role is STUDENT 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 oyedaratomiwa@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"tomiwa","MiddleName":null,"LastName":"oyedara","IsFirstLogin":true,"FullName":"tomiwa oyedara","RowVersion":"AAAAAAAETbk=","DateCreated":"2023-03-31T13:25:29.7128358","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10597,"UserName":"oyedaratomiwa@gmail.com","NormalizedUserName":"OYEDARATOMIWA@GMAIL.COM","Email":"oyedaratomiwa@gmail.com","NormalizedEmail":"OYEDARATOMIWA@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"DDZ7DQFATE3VA2ITXTCIGG5KHJFW47B7","ConcurrencyStamp":"46bbc7f8-3886-4fb5-8968-20be5251595d","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"tomiwa","MiddleName":null,"LastName":"oyedara","IsFirstLogin":true,"FullName":"tomiwa oyedara","RowVersion":"AAAAAAAETbk=","DateCreated":"2023-03-31T13:25:29.7128358","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10597,"UserName":"oyedaratomiwa@gmail.com","NormalizedUserName":"OYEDARATOMIWA@GMAIL.COM","Email":"oyedaratomiwa@gmail.com","NormalizedEmail":"OYEDARATOMIWA@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"DDZ7DQFATE3VA2ITXTCIGG5KHJFW47B7","ConcurrencyStamp":"46bbc7f8-3886-4fb5-8968-20be5251595d","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: oyedaratomiwa@gmail.com - tomiwa oyedara role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoidG9taXdhIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA1OTciLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJveWVkYXJhdG9taXdhQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im95ZWRhcmF0b21pd2FAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY4MDM1NjA2OSwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.x8k1alTVgeZo_94Cr1XGBlNy-j3jhuh5bNLMu-3VjPI","refreshToken":"RlPn4fAyQHcOfHlFOFFEPUv5lgL58CqzwWYzH9RqZwo=","accesstoken_Expires":"2023-04-01T13:34:29Z","refreshToken_Expires":"2023-03-31T15:34:29.973826+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10597,"StudentProfile":10398,"UserName":"oyedaratomiwa@gmail.com","InstitutionId":0,"FirstName":"tomiwa","LastName":"oyedara"} 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":true,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} warn: Authentication.Controllers.AccountController[0] result succeeded from googleresposne warn: Authentication.Controllers.AccountController[0] userUsername is oyedaratomiwa@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"Oluwatomiwa","MiddleName":null,"LastName":"Adedayo- Salawu","IsFirstLogin":true,"FullName":"Oluwatomiwa Adedayo- Salawu","RowVersion":"AAAAAAAETbw=","DateCreated":"2023-03-31T13:25:29.7128358","DateUpdated":"2023-03-31T15:14:23.313056","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10597,"UserName":"oyedaratomiwa@gmail.com","NormalizedUserName":"OYEDARATOMIWA@GMAIL.COM","Email":"oyedaratomiwa@gmail.com","NormalizedEmail":"oyedaratomiwa@gmail.com","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"DDZ7DQFATE3VA2ITXTCIGG5KHJFW47B7","ConcurrencyStamp":"46bbc7f8-3886-4fb5-8968-20be5251595d","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Oluwatomiwa","MiddleName":null,"LastName":"Adedayo- Salawu","IsFirstLogin":true,"FullName":"Oluwatomiwa Adedayo- Salawu","RowVersion":"AAAAAAAETbw=","DateCreated":"2023-03-31T13:25:29.7128358","DateUpdated":"2023-03-31T15:14:23.313056","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10597,"UserName":"oyedaratomiwa@gmail.com","NormalizedUserName":"OYEDARATOMIWA@GMAIL.COM","Email":"oyedaratomiwa@gmail.com","NormalizedEmail":"oyedaratomiwa@gmail.com","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"DDZ7DQFATE3VA2ITXTCIGG5KHJFW47B7","ConcurrencyStamp":"46bbc7f8-3886-4fb5-8968-20be5251595d","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: oyedaratomiwa@gmail.com - Oluwatomiwa Adedayo- Salawu role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiT2x1d2F0b21pd2EiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIxMDU5NyIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6Im95ZWRhcmF0b21pd2FAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoib3llZGFyYXRvbWl3YUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9sb2NhbGl0eSI6IjAiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJTVFVERU5UIiwiZXhwIjoxNjgwMzU4NjM4LCJpc3MiOiJza2lsbGJldGFfcml2ZXRfc3R1ZGlvIiwiYXVkIjoiU2tpbGxCZXRhUml2ZXRTdHVkaW8ifQ.o1Tr9i5RucW-HrYuX2i3U2qeGCn5sOGD4CdbzeXV8u4","refreshToken":"iw95aTvwHuQWDHgWvGTtW1txBSApXAhiqwuiKcHDbxE=","accesstoken_Expires":"2023-04-01T14:17:18Z","refreshToken_Expires":"2023-03-31T16:17:18.0127359+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10597,"StudentProfile":10398,"UserName":"oyedaratomiwa@gmail.com","InstitutionId":0,"FirstName":"Oluwatomiwa","LastName":"Adedayo- Salawu"}