{"action":"created","issue":{"url":"https://api.github.com/repos/openiddict/openiddict-core/issues/259","repository_url":"https://api.github.com/repos/openiddict/openiddict-core","labels_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/259/comments","events_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/259/events","html_url":"https://github.com/openiddict/openiddict-core/issues/259","id":187617565,"number":259,"title":"Error \"client_id was missing\" after upgrade 0473 -> 0478","user":{"login":"Maarten88","id":1541007,"avatar_url":"https://avatars.githubusercontent.com/u/1541007?v=3","gravatar_id":"","url":"https://api.github.com/users/Maarten88","html_url":"https://github.com/Maarten88","followers_url":"https://api.github.com/users/Maarten88/followers","following_url":"https://api.github.com/users/Maarten88/following{/other_user}","gists_url":"https://api.github.com/users/Maarten88/gists{/gist_id}","starred_url":"https://api.github.com/users/Maarten88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maarten88/subscriptions","organizations_url":"https://api.github.com/users/Maarten88/orgs","repos_url":"https://api.github.com/users/Maarten88/repos","events_url":"https://api.github.com/users/Maarten88/events{/privacy}","received_events_url":"https://api.github.com/users/Maarten88/received_events","type":"User","site_admin":false},"labels":[{"id":251084798,"url":"https://api.github.com/repos/openiddict/openiddict-core/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-07T03:25:04Z","updated_at":"2016-11-07T13:16:51Z","closed_at":null,"body":"Thanks for this great project, I am trying to use it for a separate openid connect server that is part of a larger application, using the out-of-the-box features, but replacing all identity stores. (I don't like EF :-)\r\n\r\nMy project.json had \"OpenIddict.Core\": \"1.0.0-*\" in it, and it just got upgraded to 1.0.0-beta1-0478.\r\n\r\nNow I get an error on post of /connect/authorize/accept:\r\nerror:invalid_request\r\nerror_description:client_id was missing\r\n\r\nThis worked before. It still works if I copy the previous assemblies for OpenIdDict.Core and AspNet.Security.OpenIdConnect.Server back.\r\n\r\nI tried to figure out what changed by going through the commit history, but can't find an explanation.\r\n\r\nI don't have \"RequireClientIdentification\"; my configuration is this (I use a custom store), the code is mostly copied from the Mvc.Server sample:\r\n\r\n    // Register the OpenIddict services.\r\n    services.AddOpenIddict<MyClientApplication, MyAuthorization, MyScope, MyToken>()\r\n    .AddApplicationStore<OrleansApplicationStore>()\r\n    .AddAuthorizationStore<OrleansAuthorizationStore>()\r\n    .AddScopeStore<OrleansScopeStore>()\r\n    .AddTokenStore<OrleansTokenStore>()\r\n    .AddSigningCertificate(\r\n        assembly: typeof(Startup).GetTypeInfo().Assembly,\r\n        resource: \"Resources.SigningCertificateRSA.pfx\",\r\n        password: configuration[\"PfxPassword\"])\r\n    .AllowPasswordFlow()\r\n    .AllowAuthorizationCodeFlow()\r\n    .AllowRefreshTokenFlow()\r\n    .AllowImplicitFlow()\r\n    // .RequireClientIdentification()\r\n    .EnableAuthorizationEndpoint(\"/connect/authorize\")\r\n    .EnableIntrospectionEndpoint(\"/connect/introspect\")\r\n    .EnableTokenEndpoint(\"/connect/token\")\r\n    .EnableLogoutEndpoint(\"/connect/logout\")\r\n    .EnableUserinfoEndpoint(\"/connect/userinfo\")\r\n    // During development, you can disable the HTTPS requirement.\r\n    .DisableHttpsRequirement()\r\n    .UseJsonWebTokens()\r\n    .AllowCustomFlow(\"facebook\")\r\n    .AddMvcBinders();\r\n"},"comment":{"url":"https://api.github.com/repos/openiddict/openiddict-core/issues/comments/258832615","html_url":"https://github.com/openiddict/openiddict-core/issues/259#issuecomment-258832615","issue_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/259","id":258832615,"user":{"login":"Maarten88","id":1541007,"avatar_url":"https://avatars.githubusercontent.com/u/1541007?v=3","gravatar_id":"","url":"https://api.github.com/users/Maarten88","html_url":"https://github.com/Maarten88","followers_url":"https://api.github.com/users/Maarten88/followers","following_url":"https://api.github.com/users/Maarten88/following{/other_user}","gists_url":"https://api.github.com/users/Maarten88/gists{/gist_id}","starred_url":"https://api.github.com/users/Maarten88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maarten88/subscriptions","organizations_url":"https://api.github.com/users/Maarten88/orgs","repos_url":"https://api.github.com/users/Maarten88/repos","events_url":"https://api.github.com/users/Maarten88/events{/privacy}","received_events_url":"https://api.github.com/users/Maarten88/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T13:16:51Z","updated_at":"2016-11-07T13:16:51Z","body":"That was it, thanks. Everything works again after this single line fix. Do I also need to implement/configure a requestcache for scale-out?"}}
{"actor":{"display_login":"Maarten88"}}