Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

OpenID Component Bug Fixes #4

Closed

Conversation

kochb
Copy link

@kochb kochb commented May 1, 2012

I encountered two bugs while using the OpenID component that I've resolved.

One fixes an issue with the new request input format introduced CakePHP 2. The component was still expecting input in the CakePHP 1.x format.

The other resolves unexpected session disruptions due to the arbitrary call to session_start() in the openid construct. The fix I implemented was to write a custom Yadis session handler which explicitly runs all session updates through the CakeSession library. This has proven to be more reliable.

cakebaker added a commit that referenced this pull request May 3, 2012
cakebaker added a commit that referenced this pull request May 3, 2012
@cakebaker
Copy link
Owner

Thanks for your patch.

I modified it a bit: request->form doesn't exist, it is request->data; the class Auth_Yadis_CakeSession no longer has a parent class, plus I inlined the class into the component as I didn't like its location and don't know a better location...

@cakebaker cakebaker closed this May 3, 2012
kochb added a commit to kochb/openid-component that referenced this pull request May 5, 2012
…kebaker#4.

Conflicts:
	Controller/Component/OpenidComponent.php
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants