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 {f19e248a-43b0-4a79-8c82-663ecd558aa3} 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:30526 Application started. Press Ctrl+C to shut down. fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNBBLJPTSUTJ", Request id "0HNBBLJPTSUTJ:00000009": An unhandled exception was thrown by the application. System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Access was denied by the resource owner or by the remote server. --- 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) fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNBBLJPTSUTJ", Request id "0HNBBLJPTSUTJ:0000000A": An unhandled exception was thrown by the application. System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Access was denied by the resource owner or by the remote server. --- 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) fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNBBLJPTSUTJ", Request id "0HNBBLJPTSUTJ:0000000B": An unhandled exception was thrown by the application. System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Access was denied by the resource owner or by the remote server. --- 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) fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNBBLJPTSUTJ", Request id "0HNBBLJPTSUTJ:0000000C": An unhandled exception was thrown by the application. System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Access was denied by the resource owner or by the remote server. --- 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) 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 temitopeonilede@gmail.com warn: Authentication.Controllers.AccountController[0] checkuser {"FirstName":"temitope","MiddleName":null,"LastName":"onilede","IsFirstLogin":true,"FullName":"temitope onilede","RowVersion":"AAAAAAADkh4=","DateCreated":"2022-09-27T15:59:17.0146155","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10520,"UserName":"temitopeonilede@gmail.com","NormalizedUserName":"TEMITOPEONILEDE@GMAIL.COM","Email":"temitopeonilede@gmail.com","NormalizedEmail":"TEMITOPEONILEDE@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"ZMQYSY5DBIN6SW5TJI2ZUIPK7OPZ6MAY","ConcurrencyStamp":"67a355b6-7799-45d5-beb3-40a9e9020b69","PhoneNumber":null,"PhoneNumberConfirmed":false,"TwoFactorEnabled":false,"LockoutEnd":null,"LockoutEnabled":true,"AccessFailedCount":0} warn: Authentication.Controllers.AccountController[0] Newresult is {"FirstName":"temitope","MiddleName":null,"LastName":"onilede","IsFirstLogin":true,"FullName":"temitope onilede","RowVersion":"AAAAAAADkh4=","DateCreated":"2022-09-27T15:59:17.0146155","DateUpdated":null,"CreatedBy":0,"UpdatedBy":null,"DeletedBy":0,"IsDeleted":false,"IsActive":true,"InstitutionId":0,"UserType":1,"LastPasswordChangeDate":null,"Id":10520,"UserName":"temitopeonilede@gmail.com","NormalizedUserName":"TEMITOPEONILEDE@GMAIL.COM","Email":"temitopeonilede@gmail.com","NormalizedEmail":"TEMITOPEONILEDE@GMAIL.COM","EmailConfirmed":false,"PasswordHash":null,"SecurityStamp":"ZMQYSY5DBIN6SW5TJI2ZUIPK7OPZ6MAY","ConcurrencyStamp":"67a355b6-7799-45d5-beb3-40a9e9020b69","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: temitopeonilede@gmail.com - temitope onilede role is gotten warn: Authentication.Controllers.AccountController[0] serializedate = {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoidGVtaXRvcGUiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIxMDUyMCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6InRlbWl0b3Blb25pbGVkZUBnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJ0ZW1pdG9wZW9uaWxlZGVAZ21haWwuY29tIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbG9jYWxpdHkiOiIwIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiU1RVREVOVCIsImV4cCI6MTc0MzAwMjA3OSwiaXNzIjoic2tpbGxiZXRhX3JpdmV0X3N0dWRpbyIsImF1ZCI6IlNraWxsQmV0YVJpdmV0U3R1ZGlvIn0.R2bIQvtMgeoix_hNu0iQUjrcjaGeWxRHPaZdE_aoNes","refreshToken":"uM7hmOoytiNS7okha7EHIHrTops6YP1kY5upgCf6ElU=","accesstoken_Expires":"2025-03-26T15:14:39Z","refreshToken_Expires":"2025-03-25T17:14:39.8315698+01:00","isFirstLogin":true,"role":"STUDENT","UserId":10520,"StudentProfile":10323,"UserName":"temitopeonilede@gmail.com","InstitutionId":0,"FirstName":"temitope","LastName":"onilede"} fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HNBBLJPTSUTJ", Request id "0HNBBLJPTSUTJ:00000012": 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) warn: Authentication.Controllers.AccountController[0] student created Muhammad warn: Authentication.Core.Services.GoogleService[0] appendRequest= {"majorDimension":null,"range":null,"values":[["muhammadtsaheed@gmail.com","Muhammad","Saheed"]],"ETag":null}, sheetID ="1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA", range ="newlyRegisteredUsers!A1:C" warn: Authentication.Core.Services.GoogleService[0] valueInputeOption= USERENTERED warn: Authentication.Core.Services.GoogleService[0] Googlesheet response= {"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","tableRange":"newlyRegisteredUsers!A1:C370","updates":{"spreadsheetId":"1oTZ1hfTRq_kX45J0_zA2vxVqddGZ166HHuYeO31LaPA","updatedCells":3,"updatedColumns":3,"updatedData":null,"updatedRange":"newlyRegisteredUsers!A371:C371","updatedRows":1,"ETag":null},"ETag":null} 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