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 {33c5be63-8624-4ce5-ad76-e849840ec4d8} 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:5834 Application started. Press Ctrl+C to shut down. warn: Authentication.Controllers.AccountController[0] Role is SUPER ADMIN 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: Authentication.Controllers.AccountController[0] student created Adeola 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] 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 SUPER ADMIN 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 m4mariaoni@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"Maria","MiddleName":null,"LastName":"Oni","IsFirstLogin":true,"FullName":"Maria Oni","RowVersion":"AAAAAAACOm0=","DateCreated":"2022-01-14T12:44:38.1799563","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":0,"LastPasswordChangeDate":null,"Id":340,"UserName":"m4mariaoni@gmail.com","NormalizedUserName":"M4MARIAONI@GMAIL.COM","Email":"m4mariaoni@gmail.com","NormalizedEmail":"M4MARIAONI@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"H6W3EIBQKKPPGNWD72PGKHQL35SCP7BR","ConcurrencyStamp":"c26c5da0-4dde-4818-964b-30fe47bae70a","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Maria","MiddleName":null,"LastName":"Oni","IsFirstLogin":true,"FullName":"Maria Oni","RowVersion":"AAAAAAACOm0=","DateCreated":"2022-01-14T12:44:38.1799563","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":0,"LastPasswordChangeDate":null,"Id":340,"UserName":"m4mariaoni@gmail.com","NormalizedUserName":"M4MARIAONI@GMAIL.COM","Email":"m4mariaoni@gmail.com","NormalizedEmail":"M4MARIAONI@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"H6W3EIBQKKPPGNWD72PGKHQL35SCP7BR","ConcurrencyStamp":"c26c5da0-4dde-4818-964b-30fe47bae70a","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: m4mariaoni@gmail.com - Maria Oni role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiTWFyaWEiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIzNDAiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJtNG1hcmlhb25pQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im00bWFyaWFvbmlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY0ODY0MDg3MSwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.Mk8FJpu6x7M0TMTADHEgUkoifeMvWHkjaB0TSehu4-U","refreshToken":"YRLfgmd7Pohz8ZaMRxBrRzDWfyBK2pLW0OnRs5RtrWI=","accesstoken_Expires":"2022-03-30T11:47:51Z","refreshToken_Expires":"2022-03-29T13:47:51.8296947+01:00","isFirstLogin":true,"role":"STUDENT","UserId":340,"StudentProfile":145,"UserName":"m4mariaoni@gmail.com","InstitutionId":0,"FirstName":"Maria","LastName":"Oni"} 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.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 1638 warn: Authentication.Controllers.AccountController[0] userUsername is makinwaf@gmail.com warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Funmi","MiddleName":null,"LastName":"Makinwa","IsFirstLogin":true,"FullName":"Funmi Makinwa","RowVersion":"AAAAAAACeRQ=","DateCreated":"2022-03-29T12:56:24.9015833","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":0,"LastPasswordChangeDate":null,"Id":391,"UserName":"makinwaf@gmail.com","NormalizedUserName":"MAKINWAF@GMAIL.COM","Email":"makinwaf@gmail.com","NormalizedEmail":"MAKINWAF@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"57CEIAU3RW7QPNHU63EU7KOOAKGO7Q47","ConcurrencyStamp":"5a626d19-6389-4f42-9564-2a0bd2c8acc5","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: makinwaf@gmail.com - Funmi Makinwa role is gotten warn: Authentication.Controllers.AccountController[0] serializedata = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiRnVubWkiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIzOTEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJtYWtpbndhZkBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJtYWtpbndhZkBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9sb2NhbGl0eSI6IjAiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJTVFVERU5UIiwiZXhwIjoxNjQ4NjQxMzg1LCJpc3MiOiJza2lsbGJldGFfcml2ZXRfc3R1ZGlvIiwiYXVkIjoiU2tpbGxCZXRhUml2ZXRTdHVkaW8ifQ.De3zaPnA7TQnL86c7l6gsYDYabQXopO26SctREaXpLc","refreshToken":"ETk5tSzsHzYSK+yzWCkIHYPGn9c6f9tygI5BvFDKeTM=","accesstoken_Expires":"2022-03-30T11:56:25Z","refreshToken_Expires":"2022-03-29T13:56:25.4817734+01:00","isFirstLogin":true,"role":"STUDENT","UserId":391,"StudentProfile":194,"UserName":"makinwaf@gmail.com","InstitutionId":0,"FirstName":"Funmi","LastName":"Makinwa"} 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 makinwaf@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"Funmi","MiddleName":null,"LastName":"Makinwa","IsFirstLogin":true,"FullName":"Funmi Makinwa","RowVersion":"AAAAAAACeRQ=","DateCreated":"2022-03-29T12:56:24.9015833","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":0,"LastPasswordChangeDate":null,"Id":391,"UserName":"makinwaf@gmail.com","NormalizedUserName":"MAKINWAF@GMAIL.COM","Email":"makinwaf@gmail.com","NormalizedEmail":"MAKINWAF@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"57CEIAU3RW7QPNHU63EU7KOOAKGO7Q47","ConcurrencyStamp":"5a626d19-6389-4f42-9564-2a0bd2c8acc5","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"Funmi","MiddleName":null,"LastName":"Makinwa","IsFirstLogin":true,"FullName":"Funmi Makinwa","RowVersion":"AAAAAAACeRQ=","DateCreated":"2022-03-29T12:56:24.9015833","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":0,"LastPasswordChangeDate":null,"Id":391,"UserName":"makinwaf@gmail.com","NormalizedUserName":"MAKINWAF@GMAIL.COM","Email":"makinwaf@gmail.com","NormalizedEmail":"MAKINWAF@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"57CEIAU3RW7QPNHU63EU7KOOAKGO7Q47","ConcurrencyStamp":"5a626d19-6389-4f42-9564-2a0bd2c8acc5","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: makinwaf@gmail.com - Funmi Makinwa role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiRnVubWkiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIzOTEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJtYWtpbndhZkBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJtYWtpbndhZkBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9sb2NhbGl0eSI6IjAiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJTVFVERU5UIiwiZXhwIjoxNjQ4NjQzNzQ3LCJpc3MiOiJza2lsbGJldGFfcml2ZXRfc3R1ZGlvIiwiYXVkIjoiU2tpbGxCZXRhUml2ZXRTdHVkaW8ifQ.JUaQsyIIJEK3ABe-TbWj608I5E7yA_8taTa93G6WucY","refreshToken":"eLatABDuIOn4l9v6u1gasEdrO2U/5XtKES3Tluof4h4=","accesstoken_Expires":"2022-03-30T12:35:47Z","refreshToken_Expires":"2022-03-29T14:35:47.0834759+01:00","isFirstLogin":true,"role":"STUDENT","UserId":391,"StudentProfile":194,"UserName":"makinwaf@gmail.com","InstitutionId":0,"FirstName":"Funmi","LastName":"Makinwa"} warn: Authentication.Controllers.AccountController[0] Role is SUPER ADMIN warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] Role is STUDENT warn: Authentication.Controllers.AccountController[0] Role is INSTITUTION ADMIN