2025-12-25 13:44:18.7412||DEBUG|Authentication.Program|init main function 2025-12-25 13:44:22.9182|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:23.5573|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-12-25 13:44:23.5808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-12-25 13:44:23.5808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-12-25 13:44:23.5808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-12-25 13:44:23.6008|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-12-25 13:44:23.7314|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-12-25 13:44:24.2946||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-2404559740-2321761809-584227669-3522060946-2110276425\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2025-12-25 13:44:24.4452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 2025-12-25 13:44:24.4452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 2025-12-25 13:44:24.4452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 2025-12-25 13:44:24.4452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 2025-12-25 13:44:24.4452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 2025-12-25 13:44:24.4821|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.4821|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.4821|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.4821|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.4821|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.6309ms 204 2025-12-25 13:44:24.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.3191ms 204 2025-12-25 13:44:24.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.2606ms 204 2025-12-25 13:44:24.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.3374ms 204 2025-12-25 13:44:24.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.2761ms 204 2025-12-25 13:44:24.7105|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 0 2025-12-25 13:44:24.7105|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 0 2025-12-25 13:44:24.7105|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 0 2025-12-25 13:44:24.7105|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 0 2025-12-25 13:44:24.7105|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/RefreshToken?Token=2KMaqyey1ix9ukS9dhGyWBlgMY5YENjZ5a41vSGriwE= 0 2025-12-25 13:44:24.7105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.7105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.7105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.7105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.7105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 13:44:24.7365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:24.7365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:24.7365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:24.7365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:24.7365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:24.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 13:44:24.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 13:44:24.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 13:44:24.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 13:44:24.7811|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "RefreshToken", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] RefreshToken(System.String) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 13:44:24.7928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:24.7928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:24.7928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:24.7928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:24.7928|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 13:44:25.0283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-12-25 13:44:25.0283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-12-25 13:44:25.0283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-12-25 13:44:25.0283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (49ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-12-25 13:44:25.0283|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [Parameters=[@__Token_0='?' (Size = 4000)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE [u].[Token] = @__Token_0 2025-12-25 13:44:25.1068|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-12-25 13:44:25.1068|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-12-25 13:44:25.1068|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-12-25 13:44:25.1068|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-12-25 13:44:25.1068|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'. 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 436.7282ms 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 434.3578ms 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 432.118ms 2025-12-25 13:44:25.2246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 438.0818ms 2025-12-25 13:44:25.2246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:25.2246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.RefreshToken (Authentication) in 435.5205ms 2025-12-25 13:44:25.2246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 521.2493ms 401 application/problem+json; charset=utf-8 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 521.6347ms 401 application/problem+json; charset=utf-8 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 522.6061ms 401 application/problem+json; charset=utf-8 2025-12-25 13:44:25.2246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.RefreshToken (Authentication)' 2025-12-25 13:44:25.2246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 524.9654ms 401 application/problem+json; charset=utf-8 2025-12-25 13:44:25.2386|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 528.801ms 401 application/problem+json; charset=utf-8 2025-12-25 14:00:37.4044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn 2025-12-25 14:00:37.4044|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:00:37.4044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8601ms 204 2025-12-25 14:00:37.6467|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignIn application/json 65 2025-12-25 14:00:37.6467|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:00:37.6544|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-12-25 14:00:37.6544|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignIn", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignIn(Authentication.Data.Models.Identity.AuthBindingModel) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 14:00:37.7034|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 14:00:37.8111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__ToLower_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE LOWER([a].[UserName]) = @__ToLower_0 2025-12-25 14:00:37.8706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__checkUser_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__checkUser_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) ORDER BY [u].[Id] DESC 2025-12-25 14:00:37.9182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-12-25 14:00:37.9773|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[Discriminator], [a].[UserId] FROM [AspNetUserClaims] AS [a] WHERE [a].[Discriminator] IN (N'IdentityUserClaim', N'UserClaim') AND ([a].[UserId] = @__user_Id_0) 2025-12-25 14:00:38.0101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-12-25 14:00:38.0259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[InstitutionId], [a].[IsActive], [a].[Name], [a].[NormalizedName], [a].[UpdatedBy], [a].[UserType] FROM [AspNetRoles] AS [a] WHERE [a].[NormalizedName] = @__normalizedName_0 2025-12-25 14:00:38.0448|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[ClaimType], [a].[ClaimValue] FROM [AspNetRoleClaims] AS [a] WHERE [a].[RoleId] = @__role_Id_0 2025-12-25 14:00:38.0448|10|INFO|Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler|AuthenticationScheme: Identity.Application signed in. 2025-12-25 14:00:38.0448|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[NormalizedUserName] = @__normalizedUserName_0 2025-12-25 14:00:38.7600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-12-25 14:00:38.7733|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [p].[Code] FROM [UserPermissions] AS [u] INNER JOIN [Permissions] AS [p] ON [u].[PermissionId] = [p].[Id] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-12-25 14:00:39.0690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-12-25 14:00:39.1710|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-12-25 14:00:39.2119|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [UserToken] ([DateCreated], [ExpiryDate], [IsActive], [SessionExpiryDate], [Token], [UserId]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5); SELECT [Id] FROM [UserToken] WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); 2025-12-25 14:00:39.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a0].[Name] FROM [AspNetUserRoles] AS [a] INNER JOIN [AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id] WHERE [a].[Discriminator] IN (N'IdentityUserRole', N'UserRole') AND ([a].[UserId] = @__userId_0) 2025-12-25 14:00:39.2326||INFO|Authentication.Controllers.AccountController|userrwilliams@MOF role is gotten 2025-12-25 14:00:39.2499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__user_Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[CreatedBy], [u].[DateCreated], [u].[DateUpdated], [u].[IsActive], [u].[IsDeleted], [u].[PermissionId], [u].[RowVersion], [u].[UpdatedBy], [u].[UserId] FROM [UserPermissions] AS [u] WHERE ([u].[UserId] = @__user_Id_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-12-25 14:00:39.2663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__item_PermissionId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Code] FROM [Permissions] AS [p] WHERE [p].[Id] = @__item_PermissionId_0 2025-12-25 14:00:39.2951||INFO|Authentication.Controllers.AccountController|user rwilliams@MOF is signin but about to call corporate service 2025-12-25 14:00:41.5092|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-12-25 14:00:41.5203|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignIn (Authentication) in 3850.8687ms 2025-12-25 14:00:41.5203|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignIn (Authentication)' 2025-12-25 14:00:41.5203|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3878.4785ms 200 application/json; charset=utf-8 2025-12-25 14:00:41.7896|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-12-25 14:00:41.7896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:00:41.7951|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4706ms 204 2025-12-25 14:00:42.0303|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/Admin/GetAllUsersByCorporateId?corporateId=207 2025-12-25 14:00:42.0303|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:00:42.0303|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-12-25 14:00:42.0488|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllUsersByCorporateId", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllUsersByCorporateId(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 14:00:42.0488|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 14:00:42.0707|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__corporateId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccessFailedCount], [a].[Address], [a].[BranchId], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[DOB], [a].[DateCreated], [a].[DateUpdated], [a].[DeletedBy], [a].[Email], [a].[EmailConfirmed], [a].[FirstName], [a].[IsActive], [a].[IsDeleted], [a].[IsFirstLogin], [a].[LastName], [a].[LastPasswordChangeDate], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[MiddleName], [a].[MobileNumber], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[RowVersion], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UpdatedBy], [a].[UserName], [a].[UserType], [a].[UserTypeId] FROM [AspNetUsers] AS [a] WHERE [a].[UserTypeId] = @__corporateId_0 2025-12-25 14:00:42.1004|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Authentication.Data.Models.Identity.UserBindingModel, Authentication.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2025-12-25 14:00:42.1144|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication) in 63.2447ms 2025-12-25 14:00:42.1144|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.GetAllUsersByCorporateId (Authentication)' 2025-12-25 14:00:42.1144|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.4655ms 200 application/json; charset=utf-8 2025-12-25 14:01:05.5779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/493 2025-12-25 14:01:05.5812|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:01:05.5812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5422ms 204 2025-12-25 14:01:05.8382|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AuthenticationService/api/Account/SignOut/493 2025-12-25 14:01:05.8382|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-12-25 14:01:05.8466|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-12-25 14:01:05.8466|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "SignOut", controller = "Account"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SignOut(Int64) on controller Authentication.Controllers.AccountController (Authentication). 2025-12-25 14:01:05.8466|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: using lazy-loading proxies 2025-12-25 14:01:05.8807|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__UserId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [u].[Id], [u].[DateCreated], [u].[ExpiryDate], [u].[IsActive], [u].[SessionExpiryDate], [u].[Token], [u].[UserId] FROM [UserToken] AS [u] WHERE ([u].[UserId] = @__UserId_0) AND ([u].[IsActive] = CAST(1 AS bit)) 2025-12-25 14:01:05.8920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p6='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Boolean), @p3='?' (DbType = DateTime2), @p4='?' (Size = 4000), @p5='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [UserToken] SET [DateCreated] = @p0, [ExpiryDate] = @p1, [IsActive] = @p2, [SessionExpiryDate] = @p3, [Token] = @p4, [UserId] = @p5 WHERE [Id] = @p6; SELECT @@ROWCOUNT; 2025-12-25 14:01:05.8920|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AuditTrailUtility.Utility.SaveResponse'. 2025-12-25 14:01:05.8920|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action Authentication.Controllers.AccountController.SignOut (Authentication) in 47.379ms 2025-12-25 14:01:05.8920|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'Authentication.Controllers.AccountController.SignOut (Authentication)' 2025-12-25 14:01:05.8920|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.507ms 200 application/json; charset=utf-8 2025-12-25 14:21:17.3470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:39095/AUTHENTICATIONSERVICE/iisintegration 0 2025-12-25 14:21:17.3470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2792ms 202