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 {4a9f5c30-d4f8-409c-b098-f216635c2805} 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:18097 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":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":"AAAAAAADkhM=","DateCreated":"2022-01-14T12:44:38.1799563","DateUpdated":"2022-09-17T11:34:43.0831506","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"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":"08028276832","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":"AAAAAAADkhM=","DateCreated":"2022-01-14T12:44:38.1799563","DateUpdated":"2022-09-17T11:34:43.0831506","CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"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":"08028276832","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.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiTWFyaWEiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIzNDAiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJtNG1hcmlhb25pQGdtYWlsLmNvbSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im00bWFyaWFvbmlAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTc2MDcwMjg3MCwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.q8q39xjT35slLYQe78WK75kLa_iYn6rDJ8iKTY7o9w8","refreshToken":"HARqRat1rAaJNkYai53SSKLhYNRJhp7kUkhwYF5JvKw=","accesstoken_Expires":"2025-10-17T12:07:50Z","refreshToken_Expires":"2025-10-16T14:07:50.5784581+01:00","isFirstLogin":true,"role":"STUDENT","UserId":340,"StudentProfile":145,"UserName":"m4mariaoni@gmail.com","InstitutionId":0,"FirstName":"Maria","LastName":"Oni"} fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNGCLI5671TS", Request id "0HNGCLI5671TS:0000000A": 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)