{"action":"created","issue":{"url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/66","labels_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/66/comments","events_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/66/events","html_url":"https://github.com/pingidentity/mod_auth_openidc/issues/66","id":82529539,"number":66,"title":"module does not handle multiple provider sessions","user":{"login":"bertramn","id":3828133,"avatar_url":"https://avatars.githubusercontent.com/u/3828133?v=3","gravatar_id":"","url":"https://api.github.com/users/bertramn","html_url":"https://github.com/bertramn","followers_url":"https://api.github.com/users/bertramn/followers","following_url":"https://api.github.com/users/bertramn/following{/other_user}","gists_url":"https://api.github.com/users/bertramn/gists{/gist_id}","starred_url":"https://api.github.com/users/bertramn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertramn/subscriptions","organizations_url":"https://api.github.com/users/bertramn/orgs","repos_url":"https://api.github.com/users/bertramn/repos","events_url":"https://api.github.com/users/bertramn/events{/privacy}","received_events_url":"https://api.github.com/users/bertramn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T18:11:59Z","updated_at":"2015-05-30T00:57:23Z","closed_at":null,"body":"We configured the mod_auth_openidc module as per wiki entry https://github.com/pingidentity/mod_auth_openidc/wiki/Authorization#access-to-different-url-paths-on-a-per-provider-basis for 2 separate locations and respective identity provider.\r\n\r\nBut when we setup 2 locations and 2 separate identity providers the module does not consider that a \"different\" session is needed when altering the browser URL from location 1 to location 2. The module lets the identity authenticated in location 1 just pass to location 2 but the required issuer is not checked. If the Require rules are different (e.g. IdP1 has different groups than IdP2) the module just fails with a 401 instead of going off and authenticating the user agent against the identity provider configured for location 2.\r\n\r\nThat does not look very healthy. Any idea or examples that show how 2 sessions can co-exist in the same browser against the same base url/vhost?"},"comment":{"url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/comments/106968812","html_url":"https://github.com/pingidentity/mod_auth_openidc/issues/66#issuecomment-106968812","issue_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/66","id":106968812,"user":{"login":"bertramn","id":3828133,"avatar_url":"https://avatars.githubusercontent.com/u/3828133?v=3","gravatar_id":"","url":"https://api.github.com/users/bertramn","html_url":"https://github.com/bertramn","followers_url":"https://api.github.com/users/bertramn/followers","following_url":"https://api.github.com/users/bertramn/following{/other_user}","gists_url":"https://api.github.com/users/bertramn/gists{/gist_id}","starred_url":"https://api.github.com/users/bertramn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertramn/subscriptions","organizations_url":"https://api.github.com/users/bertramn/orgs","repos_url":"https://api.github.com/users/bertramn/repos","events_url":"https://api.github.com/users/bertramn/events{/privacy}","received_events_url":"https://api.github.com/users/bertramn/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T00:57:23Z","updated_at":"2015-05-30T00:57:23Z","body":"Yes correct a subject authenticated for location 1 through identify  provider 1 is just let through to browse location 2 that is protected by a different identity provider and technically the subject from idp1 is not a valid user at location 2. I can also see that the headers send through to location 2 are in fact for the subject identified against idp1.\r\n\r\nI will try to make a very wery simple example but effectively I set up a reverse proxy and want to protect 2 separate locations with 2 completely separate identity providers on the same vhost.\r\n\r\nI could separate the 2 locations into separate vhost but I  am a bit worried that this \"mod openidc session\" is global to the httpd process."}}