Base solution for your next web application
Open Closed

Getting code_challenge is missing error on zapier request #10288


User avatar
0
shedspotter created

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.


3 Answer(s)