{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/1898","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/1898/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/1898/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/1898/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/1898","id":283777866,"number":1898,"title":"Enabling SSO for multiple application of .NET MOVC core 2","user":{"login":"iamsoorya","id":13902341,"avatar_url":"https://avatars2.githubusercontent.com/u/13902341?v=4","gravatar_id":"","url":"https://api.github.com/users/iamsoorya","html_url":"https://github.com/iamsoorya","followers_url":"https://api.github.com/users/iamsoorya/followers","following_url":"https://api.github.com/users/iamsoorya/following{/other_user}","gists_url":"https://api.github.com/users/iamsoorya/gists{/gist_id}","starred_url":"https://api.github.com/users/iamsoorya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamsoorya/subscriptions","organizations_url":"https://api.github.com/users/iamsoorya/orgs","repos_url":"https://api.github.com/users/iamsoorya/repos","events_url":"https://api.github.com/users/iamsoorya/events{/privacy}","received_events_url":"https://api.github.com/users/iamsoorya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-12-21T05:35:48Z","updated_at":"2018-04-16T05:45:54Z","closed_at":"2017-12-21T08:02:12Z","author_association":"NONE","body":"I have multiple ASP.NET MVC Core 2.0 apps. I have enabled to use IdSvr 4  auth server. \r\n\r\nMy problem is even though I have signed in to Application 1, I am getting the login page on application 2.\r\n\r\nOur expectation or requirement is that we should use SSO. If I have logged in to Application 1, I do not expect a login page to come up for application 2.\r\n\r\nCould you please help me what setting to look for this?\r\n\r\nI am yet to implement the sign out and api call. \r\n\r\nI am following the documentation and other videos for learning this.\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments/381486142","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/1898#issuecomment-381486142","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/1898","id":381486142,"user":{"login":"Kaidanov","id":164266,"avatar_url":"https://avatars1.githubusercontent.com/u/164266?v=4","gravatar_id":"","url":"https://api.github.com/users/Kaidanov","html_url":"https://github.com/Kaidanov","followers_url":"https://api.github.com/users/Kaidanov/followers","following_url":"https://api.github.com/users/Kaidanov/following{/other_user}","gists_url":"https://api.github.com/users/Kaidanov/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaidanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaidanov/subscriptions","organizations_url":"https://api.github.com/users/Kaidanov/orgs","repos_url":"https://api.github.com/users/Kaidanov/repos","events_url":"https://api.github.com/users/Kaidanov/events{/privacy}","received_events_url":"https://api.github.com/users/Kaidanov/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T05:45:54Z","updated_at":"2018-04-16T05:45:54Z","author_association":"NONE","body":"Trying to do \r\n```\r\n services.AddAuthentication(options =>\r\n              {\r\n                  options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;\r\n                  options.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;\r\n              })\r\n              .AddCookie()\r\n               .AddOpenIdConnect( \"mvc\",options =>\r\n                {\r\n                    options.Authority = Configuration[\"IdentityServerAddress\"];\r\n                    options.RequireHttpsMetadata = false;\r\n\r\n                    options.ClientId = \"mvc\";\r\n                    options.ClientSecret = \"secret\";\r\n\r\n                    options.ResponseType = \"code id_token\";\r\n                    options.Scope.Clear();\r\n                    options.Scope.Add(\"apiApp\");\r\n                    options.Scope.Add(\"offline_access\");\r\n\r\n                    options.GetClaimsFromUserInfoEndpoint = true;\r\n                    options.SaveTokens = true;\r\n                })\r\n                .AddOpenIdConnect( \"abiApp\", options =>\r\n              {\r\n                  options.Authority = Configuration[\"IdentityServerAddress\"];\r\n                  options.RequireHttpsMetadata = false;\r\n\r\n                  options.ClientId = \"abiApp\";\r\n                  options.ClientSecret = \"secret\";\r\n\r\n                  options.ResponseType = \"code id_token\";\r\n                  options.Scope.Clear();\r\n                  options.Scope.Add(\"abiApp\");\r\n                  options.Scope.Add(\"offline_access\");\r\n\r\n                  options.GetClaimsFromUserInfoEndpoint = true;\r\n                  options.SaveTokens = true;\r\n              });\r\n\r\n```\r\nand getting\r\n\r\n>  InvalidOperationException: Scheme already exists: OpenIdConnect\r\nand without it getting \r\n\r\n> Sorry, there was an error : unauthorized_client Invalid scope\r\n\r\nany solution for multiple options to use OIDC of IdentityServer4 ? \r\n"}}
{"actor":{"display_login":"Kaidanov"}}