2023-10-13 00:27:24.5284||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 00:27:25.5245|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 00:27:25.5251|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: 2023-10-13 00:27:25.5251|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {54c2d89b-3080-446c-85f2-67071d486bcb} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 01:26:14.5126||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 01:26:15.5090|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 01:26:15.5090|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: 2023-10-13 01:26:15.5196|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {96e18091-014a-4d0b-a29f-cc89f229dc3d} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 04:40:45.5369||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 04:40:46.5658|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 04:40:46.5658|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: 2023-10-13 04:40:46.5725|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {8214df92-e51f-464c-bb69-e45ccf341f76} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 08:06:27.3822||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 08:06:28.3812|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 08:06:28.3812|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: 2023-10-13 08:06:28.3812|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {f7b96e4b-94ba-45a2-bbd8-6860ac09f2e8} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 11:25:25.1225||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 11:25:30.1104|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 11:25:30.1104|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: 2023-10-13 11:25:30.1240|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {0d25335d-06be-481d-b707-406bbc633114} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 11:25:39.5334||WARN|Authentication.Controllers.AccountController|external login info from googleresponse |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2023-10-13 11:25:39.7131||WARN|Authentication.Controllers.AccountController|external login result from googleresponse --> {"Succeeded":true,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2023-10-13 11:25:39.7131||WARN|Authentication.Controllers.AccountController|result succeeded from googleresposne |url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2023-10-13 11:25:39.7754|13|ERROR|Microsoft.AspNetCore.Server.Kestrel|Connection id "0HMUBQQSS3THG", Request id "0HMUBQQSS3THG:00000004": An unhandled exception was thrown by the application. System.NullReferenceException: Object reference not set to an instance of an object. at Authentication.Controllers.AccountController.GoogleResponse() in C:\Program Files (x86)\Jenkins\workspace\SkillDorm-BE-V1\Authentication\Controllers\AccountController.cs:line 1404 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)|url: https://api.skilldorm.com/Authentication/api/Account/GoogleResponse|action: GoogleResponse 2023-10-13 11:25:40.7311|13|ERROR|Microsoft.AspNetCore.Server.Kestrel|Connection id "0HMUBQQSS3THG", Request id "0HMUBQQSS3THG:00000005": An unhandled exception was thrown by the application. System.Exception: An error was encountered while handling the remote login. ---> System.Exception: The oauth state was missing or invalid. --- End of inner exception stack trace --- at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync() at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)|url: https://api.skilldorm.com/Authentication/signin-google|action: 2023-10-13 11:25:51.4699|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=CfDJ8F0zJQ2-Bh1ItwdAa7xjMRTQ2vPzqTtpngLvYLjDn5LnTsQ_HlHB2tGh8ZCcgV-8XGEThtzKqFZ5YTaIL0CA0jqs9ZfM6Tc5raV9wOKGK6fBnq-j6GAxWoV7KVyJB8nrYDkgYSu3DYGmf5Q40sfE2-w-O4QWRTOwQOmiA-W8Gt1gDra36AtqVARHst5owEAop_Skq-2IblmoV900pVNzjjiNRowfL6b25MfOmx2vfES7VuZCs3pik8uGzjn_5831jKvKnpDMt78FKDjj7XpffdhbKS2Cif3b86WMdRkegQqx; and Set-Cookie: .AspNetCore.Correlation.LinkedIn.zF6_0_5DTQyNUQh6T3tvKVuaqUZaqWBuJ0yKm0qRsuI=N; expires=Fri, 13 Oct 2023 10:40:51 GMT; path=/Authentication/signin-linkedin; secure; samesite=none; httponly. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2023-10-13 11:25:51.4699|12|INFO|AspNet.Security.OAuth.LinkedIn.LinkedInAuthenticationHandler|AuthenticationScheme: LinkedIn was challenged. |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInLogin|action: LinkedInLogin 2023-10-13 11:25:57.3019||WARN|Authentication.Controllers.AccountController|external login info from linkedIneresponse |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3091||WARN|Authentication.Controllers.AccountController|external login result from linkedIneresponse --> {"Succeeded":true,"IsLockedOut":false,"IsNotAllowed":false,"RequiresTwoFactor":false} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3091||WARN|Authentication.Controllers.AccountController|result succeeded from linkedIneresponse |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3091||WARN|Authentication.Controllers.AccountController|userUsername is m4mariaoni@yahoo.com |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3436||WARN|Authentication.Controllers.AccountController|checkuser {"FirstName":"Maria","MiddleName":null,"LastName":"Simeon-Godfrey","IsFirstLogin":true,"FullName":"Maria Simeon-Godfrey","RowVersion":"AAAAAAADU7I=","DateCreated":"2022-01-14T15:37:09.7311022","DateUpdated":"2022-08-19T09:49:46.0916752","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":341,"UserName":"m4mariaoni@yahoo.com","NormalizedUserName":"M4MARIAONI@YAHOO.COM","Email":"m4mariaoni@yahoo.com","NormalizedEmail":"m4mariaoni@yahoo.com","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"BEYSGFRBOMDQETM53Z3EON5S4P4M6N4V","ConcurrencyStamp":"e2ddb672-7f6c-4a78-b252-5a0438b694f9","PhoneNumber":"08028276831","PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3573||WARN|Authentication.Controllers.AccountController|Newresult is {"FirstName":"Maria","MiddleName":null,"LastName":"Simeon-Godfrey","IsFirstLogin":true,"FullName":"Maria Simeon-Godfrey","RowVersion":"AAAAAAADU7I=","DateCreated":"2022-01-14T15:37:09.7311022","DateUpdated":"2022-08-19T09:49:46.0916752","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":341,"UserName":"m4mariaoni@yahoo.com","NormalizedUserName":"M4MARIAONI@YAHOO.COM","Email":"m4mariaoni@yahoo.com","NormalizedEmail":"m4mariaoni@yahoo.com","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"BEYSGFRBOMDQETM53Z3EON5S4P4M6N4V","ConcurrencyStamp":"e2ddb672-7f6c-4a78-b252-5a0438b694f9","PhoneNumber":"08028276831","PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.3682||WARN|Authentication.Controllers.AccountController|Role is STUDENT |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:57.6650||WARN|Authentication.Controllers.AccountController|user: m4mariaoni@yahoo.com - Maria Simeon-Godfrey role is gotten |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 11:25:58.2987||WARN|Authentication.Controllers.AccountController|serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiTWFyaWEiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIzNDEiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJtNG1hcmlhb25pQHlhaG9vLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im00bWFyaWFvbmlAeWFob28uY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTY5NzI3OTE1NywiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.g4DtSTAjpQ1vVdarDs6YrbYa8-NMk2QnkN0HP77BIYk","refreshToken":"9XN8MngtNmvo0r+rounU1v5h03R6bL0hMxKiZQhZGCI=","accesstoken_Expires":"2023-10-14T10:25:57Z","refreshToken_Expires":"2023-10-13T12:25:57.5406735+01:00","isFirstLogin":true,"role":"STUDENT","UserId":341,"StudentProfile":146,"UserName":"m4mariaoni@yahoo.com","InstitutionId":0,"FirstName":"Maria","LastName":"Simeon-Godfrey"} |url: https://api.skilldorm.com/Authentication/api/Account/LinkedInResponse|action: LinkedInResponse 2023-10-13 13:03:05.5273||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 13:03:08.3067|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 13:03:08.3067|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: 2023-10-13 13:03:08.3202|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {b8d3cdfa-026c-4916-9fe7-ece0c92304ae} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 14:09:55.9771||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 14:09:56.9666|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 14:09:56.9666|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: 2023-10-13 14:09:56.9666|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {b67f01aa-2bdd-4208-b9ef-930edf067085} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 19:31:35.0246||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 19:31:39.7954|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 19:31:39.7954|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: 2023-10-13 19:31:39.8061|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {fae87bd5-1d30-48c4-9b6d-4b470561830a} may be persisted to storage in unencrypted form. |url: |action: 2023-10-13 20:43:48.4817||DEBUG|Authentication.Program|init main function |url: |action: 2023-10-13 20:43:49.4994|50|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage. |url: |action: 2023-10-13 20:43:49.4994|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: 2023-10-13 20:43:49.5102|35|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {ba62c954-067f-4e3f-b682-f3a75e9e067d} may be persisted to storage in unencrypted form. |url: |action: