2024-06-20 05:28:32.8779||DEBUG|Authentication.Program|init main function |url: |action: 2024-06-20 05:28:37.6752|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2024-06-20 05:28:37.6752|59|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. |url: |action: 2024-06-20 05:28:37.6752|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {6dc018f5-d6bf-4de4-aa9d-6550c88bac38} may be persisted to storage in unencrypted form. |url: |action: 2024-06-20 05:28:38.8573|1|DEBUG|AspNet.Security.OAuth.LinkedIn.LinkedInAuthenticationHandler|HandleChallenge with Location: https://www.linkedin.com/oauth/v2/authorization?client_id=77nzjvnk1ehwjv&scope=r_liteprofile%20r_emailaddress&response_type=code&redirect_uri=https%3A%2F%2Fapi.skilldorm.com%2FAuthentication%2Fsignin-linkedin&state=CfDJ8PUYwG2_1uRNqp1lUMiLrDi3M49PvXiia_nAKLmaiAAUePgvHYtr7QDBAzmvQqI7ky79Bt7o2mv5Zo2HzEJUOjGavQFhXlfQqMo1Wr__IABOGK143xjDvEwBRsw_nG0FdFmiYEwLt1ACwtWC9kiKeTMAGJGpZqdcFWbHgYdCwfQOtWJfXgy7nXzi-xQYTzuQg3RVpTjcKj6aOnXqnwRRUSKKw0pb5VgOHBgO-2DJUpT8d5SXNPee-zfOsS7VEC2v3XGUzkPPycjqBlKZQFmyF56jADJ-scoY10HrRYTyIZZ8; and Set-Cookie: .AspNetCore.Correlation.LinkedIn.PQH_4qd4zEwDnxwcFmn3QJzvFvjZkGpB3nbIPdlYuY0=N; expires=Thu, 20 Jun 2024 04:43:38 GMT; path=/Authentication/signin-linkedin; secure; samesite=none; httponly. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2024-06-20 05:28:38.8573|12|INFO|AspNet.Security.OAuth.LinkedIn.LinkedInAuthenticationHandler|AuthenticationScheme: LinkedIn was challenged. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2024-06-20 08:03:37.7863||DEBUG|Authentication.Program|init main function |url: |action: 2024-06-20 08:03:38.8503|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2024-06-20 08:03:38.8503|59|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. |url: |action: 2024-06-20 08:03:38.8503|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {5c0c82cf-b4df-403a-9a38-bdb251fb7b43} may be persisted to storage in unencrypted form. |url: |action: 2024-06-20 11:06:19.0894||DEBUG|Authentication.Program|init main function |url: |action: 2024-06-20 11:06:21.8115|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2024-06-20 11:06:21.8115|59|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. |url: |action: 2024-06-20 11:06:21.8115|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {8a1a033d-c481-41cf-aed0-44a7ad492e42} may be persisted to storage in unencrypted form. |url: |action: 2024-06-20 15:25:37.3990||DEBUG|Authentication.Program|init main function |url: |action: 2024-06-20 15:25:38.4746|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2024-06-20 15:25:38.4746|59|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. |url: |action: 2024-06-20 15:25:38.4847|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {cf01ef5d-5156-4dea-9787-ee0ce754f54f} may be persisted to storage in unencrypted form. |url: |action: 2024-06-20 15:26:24.8693||WARN|Authentication.Controllers.AccountController|external login info from googleresponse |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:24.9005||WARN|Authentication.Controllers.AccountController|external login result from googleresponse --> {"Succeeded":false,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:24.9005||WARN|Authentication.Controllers.AccountController|elsesucceeded from googleresponse |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:24.9005||WARN|Authentication.Controllers.AccountController|Registering a new user |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:25.1735||WARN|Authentication.Core.Services.GoogleService|appendRequest= {"majorDimension":null,"range":null,"values":[["ebubeelendu@gmail.com","Gloria","Elendu"]],"ETag":null}, sheetID ="1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA", range ="newlyRegisteredUsers!A1:C" |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:25.1735||WARN|Authentication.Core.Services.GoogleService|valueInputeOption= USERENTERED |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:25.9851||WARN|Authentication.Core.Services.GoogleService|Googlesheet response= {"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","tableRange":"newlyRegisteredUsers!A1:C355","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A356:C356","updatedRows":1,"ETag":null},"ETag":null} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.0548||WARN|Authentication.Controllers.AccountController|About to send Email. |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.0548||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Url Token : {url} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.0790||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Url: https://api.skilldorm.com/Notification/ |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.0790||WARN|Authentication.Data.Utility.Email.EmailUtilityService|EndPoint: api/Email/Send |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.2733||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Response from Notification Service: {"data":null,"code":"00","success":true,"description":"Success"} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.2738||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Response from Notification Service: OK--OK--(null) |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.2738||WARN|Authentication.Controllers.AccountController|Done sending Email. |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.6411||ERROR|Authentication.Controllers.AccountController|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 |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.6411||WARN|Authentication.Controllers.AccountController|userUsername is ebubeelendu@gmail.com |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.6665||WARN|Authentication.Controllers.AccountController|Newresult is {"FirstName":"Gloria","MiddleName":null,"LastName":"Elendu","IsFirstLogin":true,"FullName":"Gloria Elendu","RowVersion":"AAAAAAAGAxc=","DateCreated":"2024-06-20T15:26:24.90551","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10650,"UserName":"ebubeelendu@gmail.com","NormalizedUserName":"EBUBEELENDU@GMAIL.COM","Email":"ebubeelendu@gmail.com","NormalizedEmail":"EBUBEELENDU@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"BAMJBXESYPDNGNNMKTU6GHTTP74HJ6X2","ConcurrencyStamp":"924543a4-f38e-4bc0-8a07-24a4b545507e","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.6665||WARN|Authentication.Controllers.AccountController|Role is STUDENT |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:26.8588||WARN|Authentication.Controllers.AccountController|user: ebubeelendu@gmail.com - Gloria Elendu role is gotten |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2024-06-20 15:26:27.2145||WARN|Authentication.Controllers.AccountController|serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiR2xvcmlhIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiMTA2NTAiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJlYnViZWVsZW5kdUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJlYnViZWVsZW5kdUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9sb2NhbGl0eSI6IjAiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJTVFVERU5UIiwiZXhwIjoxNzE4OTc5OTg2LCJpc3MiOiJza2lsbGJldGFfcml2ZXRfc3R1ZGlvIiwiYXVkIjoiU2tpbGxCZXRhUml2ZXRTdHVkaW8ifQ.yoDAFoxduJGVvLYFV5hBfvoiBpqjcJMtgvn5y5zB0wo","refreshToken":"M5+TBke591ODWb6sum001d2er7MNTOZ9sTz5ClGGWi8=","accesstoken_Expires":"2024-06-21T14:26:26Z","refreshToken_Expires":"2024-06-20T16:26:26.8474058+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10650,"StudentProfile":10450,"UserName":"ebubeelendu@gmail.com","InstitutionId":0,"FirstName":"Gloria","LastName":"Elendu"} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse