Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bringing back AuthenticationAdapterChainFactory #128

Merged
merged 2 commits into from
Jan 14, 2014

Conversation

SocalNick
Copy link
Owner

I know everyone is waiting for #125 to be merged, but I would like to propose an alternative implementation. This creates an AdapterChain just for ScnSocialAuth instead of trying to hijack the one in ZfcUser.

When doing provider authentication set a custom auth adapter in the ZfcUser Controller Plugin. The factory creates a new instance of the AdapterChain with only the HybridAuth adapter. It also makes sure to reset ZfcUser module options.

bjyoungblood/BjyAuthorize#208
#123
#127

When doing provider authentication set a custom auth adapter in the ZfcUser Controller Plugin. The factory creates a new instance of the AdapterChain with only the HybridAuth adapter. It also makes sure to reset ZfcUser module options.
@ltouro
Copy link

ltouro commented Jan 10, 2014

Tested and working! #125

For these who uses ScnSocialAuth-doctrine-orm module also, the composer should be set as

"socalnick/scn-social-auth": "dev-hotfix/dedicated-auth-adapter-chain as 1.11.3",

(must be tagged)

@SocalNick
Copy link
Owner Author

@matwright - could you give this a try?

@matwright
Copy link

This looks like a good solution. I've been meaning to test it. I should get chance a little later this week and will feedback.

@matwright
Copy link

Tested and working !

SocalNick added a commit that referenced this pull request Jan 14, 2014
…chain

Bringing back AuthenticationAdapterChainFactory
@SocalNick SocalNick merged commit 121d1fd into master Jan 14, 2014
gsomoza pushed a commit to gsomoza/ScnSocialAuth that referenced this pull request Mar 2, 2015
@SocalNick SocalNick deleted the hotfix/dedicated-auth-adapter-chain branch February 7, 2019 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants