{"action":"created","issue":{"url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/44","labels_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/44/comments","events_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/44/events","html_url":"https://github.com/pingidentity/mod_auth_openidc/issues/44","id":53509110,"number":44,"title":"Redirect URI problem","user":{"login":"karuatcsg","id":2369459,"avatar_url":"https://avatars.githubusercontent.com/u/2369459?v=3","gravatar_id":"","url":"https://api.github.com/users/karuatcsg","html_url":"https://github.com/karuatcsg","followers_url":"https://api.github.com/users/karuatcsg/followers","following_url":"https://api.github.com/users/karuatcsg/following{/other_user}","gists_url":"https://api.github.com/users/karuatcsg/gists{/gist_id}","starred_url":"https://api.github.com/users/karuatcsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karuatcsg/subscriptions","organizations_url":"https://api.github.com/users/karuatcsg/orgs","repos_url":"https://api.github.com/users/karuatcsg/repos","events_url":"https://api.github.com/users/karuatcsg/events{/privacy}","received_events_url":"https://api.github.com/users/karuatcsg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-06T12:13:04Z","updated_at":"2015-01-06T13:26:23Z","closed_at":null,"body":"I am trying to protect 'content' folder served by Apache/2.2.22 (Ubuntu). Here is my config entry\r\n\r\n        OIDCProviderMetadataURL http://192.168.1.11:8080/openid-connect-server-webapp/.well-known/openid-configuration\r\n        OIDCCryptoPassphrase helloworld\r\n        OIDCRedirectURI http://192.168.1.11:100/content/redirect_uri\r\n        OIDCScope \"openid email profile\"\r\n        #OIDCCookiePath /\r\n        #OIDCCookieDomain 192.168.1.11\r\n\r\n        OIDCClientID xxxxxxxx\r\n        OIDCClientSecret xxxxxxxxxxxxxxxxx\r\n\r\n        <Location /content>\r\n           AuthType openid-connect\r\n           Require claim preferred_username:guest\r\n        </Location>\r\n\r\nAs you can see my OP is running on Tomcat on the same server.\r\n\r\nWhen I access http://192.168.1.11:100/content/user/index.html I get the following error on the browser\r\n\r\nHTTP Status 404 - /openid-connect-server-webapp/oauth/error\r\n\r\nHowever if the redirect_uri is not under \"/content\" say \"/redirect_uri\" all URL's referring to \"/content/**\" get redirected to /redirect_uri/index.html\r\n\r\nI am not able to make this work, any help is appreciated.\r\n\r\nthanks,\r\nKarunakar"},"comment":{"url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/comments/68864477","html_url":"https://github.com/pingidentity/mod_auth_openidc/issues/44#issuecomment-68864477","issue_url":"https://api.github.com/repos/pingidentity/mod_auth_openidc/issues/44","id":68864477,"user":{"login":"karuatcsg","id":2369459,"avatar_url":"https://avatars.githubusercontent.com/u/2369459?v=3","gravatar_id":"","url":"https://api.github.com/users/karuatcsg","html_url":"https://github.com/karuatcsg","followers_url":"https://api.github.com/users/karuatcsg/followers","following_url":"https://api.github.com/users/karuatcsg/following{/other_user}","gists_url":"https://api.github.com/users/karuatcsg/gists{/gist_id}","starred_url":"https://api.github.com/users/karuatcsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karuatcsg/subscriptions","organizations_url":"https://api.github.com/users/karuatcsg/orgs","repos_url":"https://api.github.com/users/karuatcsg/repos","events_url":"https://api.github.com/users/karuatcsg/events{/privacy}","received_events_url":"https://api.github.com/users/karuatcsg/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T13:26:23Z","updated_at":"2015-01-06T13:26:23Z","body":"But some more tinkering showed that the redirect URI's I had on OP and the ones in the apache config were not matching. Once I fixed it, the problem seems to have gone away.\r\n\r\nI however request you to check the contents of `http://192.168.1.11:8080/openid-connect-server-webapp/.well-known/openid-configuration` just in case I am missing something.\r\n\r\nThank you!"}}