2022-10-28 00:36:23.3123||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 00:36:24.3604|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 00:36:24.3604|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: 2022-10-28 00:36:24.3670|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {c7579f55-00b7-4af0-8230-d9ec19e08247} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 03:08:32.6568||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 03:08:33.6723|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 03:08:33.6723|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: 2022-10-28 03:08:33.6830|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {f183911e-2e90-42f4-ae23-947e46faec88} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 11:22:00.3613||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 11:22:04.3233|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 11:22:04.3233|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: 2022-10-28 11:22:04.3233|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {88f709f2-0894-4aa8-9614-6b614254da39} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 12:06:00.9733||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 12:06:02.0021|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 12:06:02.0021|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: 2022-10-28 12:06:02.0082|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {1212015d-b0d2-4677-b0cd-e7f37e7bfa18} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 12:35:52.0900||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 12:35:53.1116|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 12:35:53.1116|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: 2022-10-28 12:35:53.1116|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {8bad188b-4191-41bf-be86-467243c57c4c} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 22:12:17.5565||DEBUG|Authentication.Program|init main function |url: |action: 2022-10-28 22:12:22.2267|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2022-10-28 22:12:22.2267|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: 2022-10-28 22:12:22.2267|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {9934b408-bc02-4c85-a701-080c13ce8032} may be persisted to storage in unencrypted form. |url: |action: 2022-10-28 22:12:32.6634|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=CfDJ8Ai0NJkCvIVMpwEIDBPOgDJeN1NMTgFCgd3qGYUT9qIt5gJ0buv93mhpZXEtwFKHnBc6N2b8kzFwKXYObsFZahEi_5Yvq79vYrzhtZ9FCeSS49H7pxz2isINWZRDYzcH8S08I80UBQlxSBeshieRenT5wxadUZFyNQMgTOKRVlpp3eQMeuyr7E2_J_2Rajoaf4VbfrK8IsLNmMIwFkICk7KXZMzCKnJMBWBq2F41VOHZWDj9IOcxgouKzrD4psA5tHjznSItmvze6bzygThSZ85v6Y1eT5WbnDTpJm54dVbd; and Set-Cookie: .AspNetCore.Correlation.LinkedIn.hIVj77sAYxWSHmHHoILtARjahHMqtRdwQeQy8w3mtlQ=N; expires=Fri, 28 Oct 2022 21:27:32 GMT; path=/Authentication/signin-linkedin; secure; samesite=none; httponly. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2022-10-28 22:12:32.6634|12|INFO|AspNet.Security.OAuth.LinkedIn.LinkedInAuthenticationHandler|AuthenticationScheme: LinkedIn was challenged. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2022-10-28 22:13:08.0057||WARN|Authentication.Controllers.AccountController|external login info from linkedIneresponse |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:08.0533||WARN|Authentication.Controllers.AccountController|external login result from linkedIneresponse --> {"Succeeded":false,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:08.0533||WARN|Authentication.Controllers.AccountController|elsesucceeded from linkedLn |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:08.3232||WARN|Authentication.Core.Services.GoogleService|appendRequest= {"majorDimension":null,"range":null,"values":[["ganihossana@gmail.com","Hossana","Gani"]],"ETag":null}, sheetID ="1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA", range ="newlyRegisteredUsers!A1:C" |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:08.3232||WARN|Authentication.Core.Services.GoogleService|valueInputeOption= USERENTERED |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:09.0171||WARN|Authentication.Core.Services.GoogleService|Googlesheet response= {"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","tableRange":"newlyRegisteredUsers!A1:C227","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A228:C228","updatedRows":1,"ETag":null},"ETag":null} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:09.0814||WARN|Authentication.Controllers.AccountController|About to send Email. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:09.0814||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Url Token : {url} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:09.0814||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Url: https://api.skilldorm.com/Notification/ |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:09.0814||WARN|Authentication.Data.Utility.Email.EmailUtilityService|EndPoint: api/Email/Send |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:11.3938||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/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:11.3948||WARN|Authentication.Data.Utility.Email.EmailUtilityService|Response from Notification Service: OK--OK--(null) |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:11.3948||WARN|Authentication.Controllers.AccountController|Done sending Email. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:12.0487||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.LinkedInResponse() in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\Authentication\Controllers\AccountController.cs:line 1817 |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:12.0487||WARN|Authentication.Controllers.AccountController|userUsername is ganihossana@gmail.com |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:12.0709||WARN|Authentication.Controllers.AccountController|Newresult is {"FirstName":"Hossana","MiddleName":null,"LastName":"Gani","IsFirstLogin":true,"FullName":"Hossana Gani","RowVersion":"AAAAAAADsWE=","DateCreated":"2022-10-28T22:13:08.0544039","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10532,"UserName":"ganihossana@gmail.com","NormalizedUserName":"GANIHOSSANA@GMAIL.COM","Email":"ganihossana@gmail.com","NormalizedEmail":"GANIHOSSANA@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"BOFXRZWO5ST65LXOWXWAHZ6HFFKLTCR7","ConcurrencyStamp":"fdafb3a8-a07c-4f15-a420-d53a2c62b82b","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:12.0709||WARN|Authentication.Controllers.AccountController|Role is STUDENT |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:12.2243||WARN|Authentication.Controllers.AccountController|user: ganihossana@gmail.com - Hossana Gani role is gotten |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2022-10-28 22:13:13.0367||WARN|Authentication.Controllers.AccountController|serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiSG9zc2FuYSIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6IjEwNTMyIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZ2l2ZW5uYW1lIjoiZ2FuaWhvc3NhbmFAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoiZ2FuaWhvc3NhbmFAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY2NzA3Nzk5MiwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.mEchvqUaDpLa-O9sIkm4kn949YmmbiioIoRt045ocSQ","refreshToken":"J9WOnNr5BIq5ceAcVyJ2AHFKdC59Lz3ATJus85jga00=","accesstoken_Expires":"2022-10-29T21:13:12Z","refreshToken_Expires":"2022-10-28T23:13:12.2136709+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10532,"StudentProfile":10335,"UserName":"ganihossana@gmail.com","InstitutionId":0,"FirstName":"Hossana","LastName":"Gani"} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse