Base solution for your next web application

Activities of "shedspotter"

Hi ismcagdas , as I have navigated the link shared by you but html and js files not update. last update on these page are 2 yr back

set RequirePkce to true but still same issue.

Root cause is found for unable login is - When we enable identity server session userId is null.
so its unable to login.

When we disable identity server session userId is not null so we can login.

Please help for the issue.

Hi, errror resolved with port update in appsetting.json when new client with port 62964 (IdentityServerClient project url ) then work secure tab then it navigate on /Ui/Login

"RedirectUris": [ "http://localhost:62964/signin-oidc" ],
    "PostLogoutRedirectUris": [ "http://localhost:62964/signout-callback-oidc" ],

http://localhost:44355/UI/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Ddemo%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A62964%252Fsignin-oidc%26response_type%3Did_token%26scope%3Dopenid%2520profile%26response_mode%3Dform_post%26nonce%3D637546868399508408.ZjcyZjk5ZGEtZGM4OS00OTBmLTlhY2UtMGZiNjI0YTA4YzI2N2I4OTc1ZTYtNmM2My00OTYyLThjZDItNTAzZDQ4ODFjMWVh%26state%3DCfDJ8CwMZ7PA8cpInOMaovscwk4G0-u04jQ5uDHMt5apBy6MyZy1AEDER_XUKknVjApGz2HFRgr517SV1PjkTLMd61TZJCR-6ao9ermKdnxQTxv91-_ZxRdvW2mZW1vkJW34ds81sW5wDvFhZWMKAtd9ILZ4gUd8mRAN8gEi_zz0aLjdpLiuakkx6iZ4QCjg_cxvNxhwEhmZndf4f3u9aXnvKbzdSysLwtkaS6XFhT8wxzXNcsiWCuuIxv0ZOC9VXRCyPHsMUsptc4Hz9qwmnYmCBFP8XIjOsFIqf-z5GA3oCRQGkWL_UfyAKfvNvARa6NOa5ntuYbD9_op-m0r2cdVfWB4%26x-client-SKU%3DID_NETSTANDARD2_0%26x-client-ver%3D5.3.0.0

But after enter valid credentials its unable to redirect consent page.

In log file getting the error INFO 2021-04-23 11:03:43,747 [4 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 7833.0809ms 200 text/html; charset=utf-8 INFO 2021-04-23 11:03:47,717 [4 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:44355/connect/authorize?client_id=demo&redirect_uri=http%3A%2F%2Flocalhost%3A62964%2Fsignin-oidc&response_type=id_token&scope=openid%20profile&response_mode=form_post&nonce=637547528276975075.YTQxMjg0ZWItN2ZkNC00NTcxLTgxOWMtMjA1M2FhMGMzMzBlMGU4MzA5ZmYtNTRlNy00ZTY3LTg2MDEtNzIyMDkzMTI2YmQz&state=CfDJ8CwMZ7PA8cpInOMaovscwk4RS-1Zn8SVpLARN8XbOxOLCxObXK58RrhFno-hZ1uaHqgjC7PFRw8z8CBc2yiI3PBHg34LfFpDAhU55Ckai3Rp2S_buPPBh5hgWZzmdsQ7dVGzJ6oIRtqJ13cn-jqmwhVqLmo16CnHgqztdm86bvXMJfL2nq0PRSM0hPowabAmo6mQYRY6rHxPPEjTtwy_d6LluiZeXZ1Jbu3FcYOzKMDFj1yNurGMhtTaILcLoOEhGFf0nSh8HFxEP_EN-bkir8J13pyMcH3NclyTYR7w-VS9kkAd2aSmxOSCC5lCjqX3UFGwHG76gLbNDLczrcuR0MI&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=5.3.0.0
INFO 2021-04-23 11:03:47,729 [4 ] Server4.Hosting.IdentityServerMiddleware - Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize INFO 2021-04-23 11:03:47,731 [4 ] ng.AuthorizeInteractionResponseGenerator - Showing login: User is not authenticated INFO 2021-04-23 11:03:47,735 [4 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 17.7832ms 302 INFO 2021-04-23 11:03:47,747 [4 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 GET http://localhost:44355/UI/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Ddemo%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A62964%252Fsignin-oidc%26response_type%3Did_token%26scope%3Dopenid%2520profile%26response_mode%3Dform_post%26nonce%3D637547528276975075.YTQxMjg0ZWItN2ZkNC00NTcxLTgxOWMtMjA1M2FhMGMzMzBlMGU4MzA5ZmYtNTRlNy00ZTY3LTg2MDEtNzIyMDkzMTI2YmQz%26state%3DCfDJ8CwMZ7PA8cpInOMaovscwk4RS-1Zn8SVpLARN8XbOxOLCxObXK58RrhFno-hZ1uaHqgjC7PFRw8z8CBc2yiI3PBHg34LfFpDAhU55Ckai3Rp2S_buPPBh5hgWZzmdsQ7dVGzJ6oIRtqJ13cn-jqmwhVqLmo16CnHgqztdm86bvXMJfL2nq0PRSM0hPowabAmo6mQYRY6rHxPPEjTtwy_d6LluiZeXZ1Jbu3FcYOzKMDFj1yNurGMhtTaILcLoOEhGFf0nSh8HFxEP_EN-bkir8J13pyMcH3NclyTYR7w-VS9kkAd2aSmxOSCC5lCjqX3UFGwHG76gLbNDLczrcuR0MI%26x-client-SKU%3DID_NETSTANDARD2_0%26x-client-ver%3D5.3.0.0
INFO 2021-04-23 11:03:47,753 [4 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'SmartSuite.Web.Controllers.UiController.Login (SmartSuite.Web.Host)' INFO 2021-04-23 11:03:47,765 [4 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Login", controller = "Ui", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Login(System.String) on controller SmartSuite.Web.Controllers.UiController (SmartSuite.Web.Host). INFO 2021-04-23 11:03:48,788 [21 ] Core.Mvc.ViewFeatures.ViewResultExecutor - Executing ViewResult, running view Login. INFO 2021-04-23 11:03:48,796 [21 ] Core.Mvc.ViewFeatures.ViewResultExecutor - Executed ViewResult - view Login executed in 8.1186ms. INFO 2021-04-23 11:03:48,796 [21 ] c.Infrastructure.ControllerActionInvoker - Executed action SmartSuite.Web.Controllers.UiController.Login (SmartSuite.Web.Host) in 1031.489ms INFO 2021-04-23 11:03:48,796 [21 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'SmartSuite.Web.Controllers.UiController.Login (SmartSuite.Web.Host)' INFO 2021-04-23 11:03:48,797 [21 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished in 1050.5114ms 200 text/html; charset=utf-8 DEBUG 2021-04-23 11:08:05,051 [62 ] SmartSuite.Web.Chat.SignalR.ChatHub - A client is connected: {"ConnectionId":"-DE3jiew8xiCC-idx02XmA66c50cdf1","IpAddress":null,"TenantId":1,"UserId":null,"ConnectTime":"2021-04-23T05:38:05.0515022Z","Properties":{}} DEBUG 2021-04-23 11:18:26,858 [80 ] SmartSuite.Web.Chat.SignalR.ChatHub - A client is disconnected: -DE3jiew8xiCC-idx02XmA66c50cdf1 DEBUG 2021-04-23 11:19:28,551 [67 ] Abp.AspNetCore.SignalR.Hubs.AbpCommonHub - A client is connected: {"ConnectionId":"6Beo6re0DTzZsXpQH3-uDQ297f1c3c1","IpAddress":null,"TenantId":1,"UserId":null,"ConnectTime":"2021-04-23T05:49:28.551577Z","Properties":{}} DEBUG 2021-04-23 11:19:28,854 [88 ] Abp.AspNetCore.SignalR.Hubs.AbpCommonHub - A client is registered: 6Beo6re0DTzZsXpQH3-uDQ297f1c3c1

Thanks for the reply issue is fixed.

We have fixed the error :-

  1. we can not login in swagger with same credential. 2.Where we can download the project

While running ConsoleApiClient getting the error.

Hi @musa.demir,

Thank for the reply.The above soltuion just solve the half of the problem but now we need to update the permission of that role. how can we achieved that becaues now we have restricted the role creation for tenants and only super admin will have all the rights to create the roles and also the github links shared by you are not accessable for me at all.

Thanks

I testest with IIS & workking fine now. and also working fine in prod deployment Thanks @ismcagda

I want to cache api data.

Showing 111 to 120 of 127 entries