From 8e6425fc5489d62b565372adc3ef66447d10caf6 Mon Sep 17 00:00:00 2001 From: Cristian Guerrero Date: Sat, 16 Nov 2024 09:48:01 -0500 Subject: [PATCH] Prueba remoto --- ApiGateway/CustomLogic.cs | 2 +- Microservicios/MsUsuarios/Controllers/AuthController.cs | 2 +- Microservicios/MsUsuarios/Properties/launchSettings.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ApiGateway/CustomLogic.cs b/ApiGateway/CustomLogic.cs index c3e3b8a..3addb5e 100644 --- a/ApiGateway/CustomLogic.cs +++ b/ApiGateway/CustomLogic.cs @@ -129,7 +129,7 @@ namespace ApiGateway if (cl.Type == claim.Key && String.Equals(claim.Key, "prm")) { - string separador = "|"; + string separador = "::"; int index = cl.Value.LastIndexOf(separador); string newPermiso = cl.Value; diff --git a/Microservicios/MsUsuarios/Controllers/AuthController.cs b/Microservicios/MsUsuarios/Controllers/AuthController.cs index 696d2aa..22f089e 100644 --- a/Microservicios/MsUsuarios/Controllers/AuthController.cs +++ b/Microservicios/MsUsuarios/Controllers/AuthController.cs @@ -412,7 +412,7 @@ namespace MSAdminUsuarios.Controllers return Encripter.Cypher(token); } - // **** Original + // **** Original ** //[HttpPost("pruebaUsuario")] //public string Token(USUARIO user) diff --git a/Microservicios/MsUsuarios/Properties/launchSettings.json b/Microservicios/MsUsuarios/Properties/launchSettings.json index 74234f8..b1c161f 100644 --- a/Microservicios/MsUsuarios/Properties/launchSettings.json +++ b/Microservicios/MsUsuarios/Properties/launchSettings.json @@ -22,7 +22,7 @@ }, "IIS Express": { "commandName": "IISExpress", - "sslPort": 7292, + //"sslPort": 7292, "launchBrowser": true, "launchUrl": "swagger", "environmentVariables": {