microservice-security icon indicating copy to clipboard operation
microservice-security copied to clipboard

redirect loop in microsec-openid-sso

Open balteo opened this issue 8 years ago • 2 comments

It seems the microsec-openid-sso application is exhibiting a redirect loop issue when run locally and the browser is pointed at this URL: http://localhost:8081/userinfo

balteo avatar Dec 18 '15 14:12 balteo

Sorry for the late reply @balteo, I didn't turn on the "watch" setting on this repo until now. I've since fixed it and rebased the fix to make history look like there was no mistake. The issue was with security.require-ssl=true being active when running locally, this should only be active when running in PWS or behind some SSL terminating load balancer. I moved it to the cloud profile to make this work in PWS: https://github.com/william-tran/microservice-security/blob/master/microsec-openid-sso/src/main/resources/application.yml#L46. You could try re-cloning the project and see if that works for you.

william-tran avatar Feb 05 '16 15:02 william-tran

Hi Will, Thanks. I will do so.

2016-02-05 16:23 GMT+01:00 Will Tran [email protected]:

Sorry for the late reply @balteo https://github.com/balteo, I didn't turn on the "watch" setting on this repo until now. I've since fixed it and rebased the fix to make history look like there was no mistake. The issue was with security.require-ssl=true being active when running locally, this should only be active when running in PWS or behind some SSL terminating load balancer. I moved it to the cloud profile to make this work in PWS: https://github.com/william-tran/microservice-security/blob/master/microsec-openid-sso/src/main/resources/application.yml#L46. You could try re-cloning the project and see if that works for you.

— Reply to this email directly or view it on GitHub https://github.com/william-tran/microservice-security/issues/2#issuecomment-180399457 .

balteo avatar Feb 09 '16 16:02 balteo