{"action":"opened","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/3057","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer3","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/3057/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/3057/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/3057/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/3057","id":165108024,"number":3057,"title":"Issue with version 2.5.1 [Breaking change]","user":{"login":"Marfusios","id":3494837,"avatar_url":"https://avatars.githubusercontent.com/u/3494837?v=3","gravatar_id":"","url":"https://api.github.com/users/Marfusios","html_url":"https://github.com/Marfusios","followers_url":"https://api.github.com/users/Marfusios/followers","following_url":"https://api.github.com/users/Marfusios/following{/other_user}","gists_url":"https://api.github.com/users/Marfusios/gists{/gist_id}","starred_url":"https://api.github.com/users/Marfusios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marfusios/subscriptions","organizations_url":"https://api.github.com/users/Marfusios/orgs","repos_url":"https://api.github.com/users/Marfusios/repos","events_url":"https://api.github.com/users/Marfusios/events{/privacy}","received_events_url":"https://api.github.com/users/Marfusios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T15:22:38Z","updated_at":"2016-07-12T15:22:38Z","closed_at":null,"body":"\r\nHello,\r\n\r\nI go my custom user service:\r\n\r\n```csharp\r\npublic class CustomService : UserServiceBase\r\n{\r\n    public override Task AuthenticateLocalAsync(LocalAuthenticationContext context)\r\n    {\r\n         var email = context.UserName;\r\n         var password = context.Password;\r\n         \r\n         ... \r\n    }\r\n}\r\n\r\n// And registered via IdentityServerServiceFactory\r\nvar factory = new IdentityServerServiceFactory();\r\nvar userService = new CustomService();\r\nfactory.UserService = new Registration<IUserService>(userService);\r\n```\r\n\r\nIn version 2.5.0 everything works great, but in new version (deployed 7.7.2016) there is issue with LocalAuthenticationContext. \r\n\"context.UserName\" contains always values from previous request (only first one). So everything works just for first request, but all others are lost...\r\n\r\nIs there any new required configuration?"}}
{"actor":{"display_login":"Marfusios"}}