Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "shedspotter"

Prerequisites

  • What is your product version = 5.6.3
  • What is your product type (Angular or MVC) = Angualr
  • What is product framework type (.net framework or .net core) = .net core

If issue related with ABP Framework

  • What is ABP Framework version = 5.9.0

Hi Team , SignalR is not working with linked account, I have added same emeil in two different tenant and add it into the manges linked account but when I tried to login to my linked tenant, signalr is not working then. so I need to logout then login agian for singalR wokring. and also when I have debugged it , I got that in SetToken method in AuthConfigure.cs ** enc_auth_token** is getting undefined when we login through linked account

Thanks

Hi @ismcagdas , no in normal window we are facing this issue and also now when I am trying to access the API in post man it gives me unsuppoerted media type as error and also I have tried https://support.aspnetzero.com/QA/Questions/6969/Error-405-on-Swagger-with-update-and-delete-service#answer-22bcbe8f-c259-b28b-3e98-39eda8d8ab08 but is not working

Prerequisites What is your product version? - v10.3.0 What is your product type (Angular or MVC)? - Angular What is product framework type (.net framework or .net core)? - .NET 5.0 ABP Framework What is ABP Framework version? - 6.3.0

https://zapier.com/dashboard/auth/oauth/return/App132526CLIAPI/?code= 9504268F8F72595A584632DCC41BA714FD0E6F66ACAA1D98C5C7A624A506ACB2 &scope=openid%20profile&state=1619849405.892335418086&session_state= SUzwxewZNZuse1WmKJ0hAlAxXhtikOJYUiIN_w1BiJM.24CD3E5A944C9C60366BDE1C75B2052B

I am using code parameter,redirect_uri & session_state(code_verifier) from the link whis is navigate after successfull login.

Tryied also

Log file showing Server4.Validation.TokenRequestValidator - Transformed code verifier does not match code challenge

INFO 2021-05-01 11:41:28,145 [72 ] osoft.EntityFrameworkCore.Infrastructure - Entity Framework Core 5.0.3 initialized 'SmartSuiteDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None INFO 2021-05-01 11:41:28,395 [72 ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (120ms) [Parameters=[@__p_0='?' (Size = 200)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[ClientId], [a].[ConsumedTime], [a].[CreationTime], [a].[Data], [a].[Description], [a].[Expiration], [a].[SessionId], [a].[SubjectId], [a].[Type] FROM [AbpPersistedGrants] AS [a] WHERE [a].[Id] = @__p_0 WARN 2021-05-01 11:41:28,396 [72 ] EntityFrameworkCore.Database.Transaction - Savepoints are disabled because Multiple Active Result Sets (MARS) is enabled. If 'SaveChanges' fails, then the transaction cannot be automatically rolled back to a known clean state. Instead, the transaction should be rolled back by the application before retrying 'SaveChanges'. See https://go.microsoft.com/fwlink/?linkid=2149338 for more information. To identify the code which triggers this warning, call 'ConfigureWarnings(w => w.Throw(RelationalEventId.SavepointsDisabledBecauseOfMARS))'. INFO 2021-05-01 11:41:28,512 [141 ] oft.EntityFrameworkCore.Database.Command - Executed DbCommand (116ms) [Parameters=[@p0='?' (Size = 200)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; DELETE FROM [AbpPersistedGrants] WHERE [Id] = @p0; SELECT @@ROWCOUNT; ERROR 2021-05-01 11:41:28,640 [141 ] Server4.Validation.TokenRequestValidator - Transformed code verifier does not match code challenge, { "ClientId": "demo_test", "ClientName": "MVC Client Demo", "GrantType": "authorization_code", "AuthorizationCode": "****ACB2", "RefreshToken": "********", "Raw": { "grant_type": "authorization_code", "redirect_uri": "https://zapier.com/dashboard/auth/oauth/return/App132526CLIAPI/", "code": "9504268F8F72595A584632DCC41BA714FD0E6F66ACAA1D98C5C7A624A506ACB2", "Client_id": "demo_test", "Client_Secret": "REDACTED", "scope": "read", "code_verifier": "SUzwxewZNZuse1WmKJ0hAlAxXhtikOJYUiIN_w1BiJM.24CD3E5A944C9C60366BDE1C75B2052B" } } INFO 2021-05-01 11:41:28,642 [141 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/1.1 POST https://localhost:44301/connect/token application/x-www-form-urlencoded 367 - 400 - application/json;+charset=UTF-8 878.6848ms

Thanks

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.

Prerequisites What is your product version? - v10.3.0 What is your product type (Angular or MVC)? - Angular What is product framework type (.net framework or .net core)? - .NET 5.0 ABP Framework What is ABP Framework version? - 6.3.0

zapier auth2 request -

WHERE @@ROWCOUNT = 1 AND [Id] = scope_identity(); INFO 2021-04-29 11:59:33,933 [87 ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /connect/authorize/callback?client_id=demo&redirect_uri=https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/&response_type=code&scope=openid&state=1619677695.115864560706. INFO 2021-04-29 11:59:33,933 [87 ] c.Infrastructure.ControllerActionInvoker - Executed action SmartSuite.Web.Controllers.UiController.Login (SmartSuite.Web.Host) in 20762.3117ms INFO 2021-04-29 11:59:33,934 [87 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'SmartSuite.Web.Controllers.UiController.Login (SmartSuite.Web.Host)' INFO 2021-04-29 11:59:33,936 [65 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 POST https://localhost:44301/Ui/Login?client_id=demo&state=1619677695.115864560706&redirect_uri=https%3A%2F%2Fzapier.com%2Fdashboard%2Fauth%2Foauth%2Freturn%2FApp132013CLIAPI%2F&response_type=code&scope=openid application/x-www-form-urlencoded 321 - 302 - - 20785.1545ms INFO 2021-04-29 11:59:33,946 [65 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44301/connect/authorize/callback?client_id=demo&redirect_uri=https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/&response_type=code&scope=openid&state=1619677695.115864560706 - - INFO 2021-04-29 11:59:33,995 [65 ] Server4.Hosting.IdentityServerMiddleware - Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint for /connect/authorize/callback ERROR 2021-04-29 11:59:34,046 [65 ] er4.Validation.AuthorizeRequestValidator - code_challenge is missing { "ClientId": "demo", "ClientName": "MVC Client Demo", "RedirectUri": "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/", "AllowedRedirectUris": [ "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/" ], "SubjectId": "2", "ResponseType": "code", "ResponseMode": "query", "GrantType": "authorization_code", "RequestedScopes": "", "State": "1619677695.115864560706", "PromptMode": "", "Raw": { "client_id": "demo", "redirect_uri": "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/", "response_type": "code", "scope": "openid", "state": "1619677695.115864560706" } } ERROR 2021-04-29 11:59:34,047 [65 ] ver4.Endpoints.AuthorizeCallbackEndpoint - Request validation failed INFO 2021-04-29 11:59:34,048 [65 ] ver4.Endpoints.AuthorizeCallbackEndpoint - { "ClientId": "demo", "ClientName": "MVC Client Demo", "RedirectUri": "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/", "AllowedRedirectUris": [ "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/" ], "SubjectId": "2", "ResponseType": "code", "ResponseMode": "query", "GrantType": "authorization_code", "RequestedScopes": "", "State": "1619677695.115864560706", "PromptMode": "", "Raw": { "client_id": "demo", "redirect_uri": "https://zapier.com/dashboard/auth/oauth/return/App132013CLIAPI/", "response_type": "code", "scope": "openid", "state": "1619677695.115864560706" } }

How we pass code_challenge?

Can we arrage a call we have some issue related OAuth and it is very hard to expain through messages.

Prerequisites What is your product version? - v10.3.0 What is your product type (Angular or MVC)? - Angular What is product framework type (.net framework or .net core)? - .NET 5.0 ABP Framework What is ABP Framework version? - 6.3.0

Access Token Request Enter the API endpoint URL where Zapier sends the approval code on user redirect, typically via POST, and receives access_token in the response.

Could you please tell what Url we need to use Access Token Request.

Thanks in an advance

Prerequisites

  • What is your product version? - v10.3.0
  • What is your product type (Angular or MVC)? - Angular
  • What is product framework type (.net framework or .net core)? - .NET 5.0

If issue related with ABP Framework

  • What is ABP Framework version? - 6.3.0

I need to upgrade my application so i download latest project but i get error on custom repository for sp integration.

Context cant find i tryied with old version(v8.9.2) its working fine but in new downloaded project getting error in Context.Database.GetDbConnection();

could you please help.

Thanks in an advance.

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

Showing 161 to 170 of 199 entries