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

Can't get provider Amazon to work #3

Open
ghost opened this issue Mar 23, 2018 · 2 comments
Open

Can't get provider Amazon to work #3

ghost opened this issue Mar 23, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 23, 2018

Hi,

for some reason I was not able to get the Amazon provider working.

However, this is a paht resolution problem. I tried a bit around, but I can't get the whole solution here: https://github.com/bmalpham8/shopware-hybrid-auth/blob/more-provider-data/Service/AuthenticationService/AmazonAuthenticationService.php#L26

Also, I am a bit confused about the hybridauth v2 documentation.

Any help at this would be great,

Best Regards,

bmalpham8

@ghost
Copy link
Author

ghost commented Apr 3, 2018

After a bit more reserach, I came to this solution: https://github.com/bmalpham8/shopware-hybrid-auth/commits/more-provider-data

However, the provider Amazon isn't documented at hybridauth v2. I just found an issue on adding Amazon. Strangely, it searches for the classes on that folder with a handful of providers.

My commits at the branch also extends other things: We are now able to collection users's birthday, if set, which is also important for an registration.

@EvilBMP
Copy link
Member

EvilBMP commented Apr 3, 2018

Just copy the contents from the additional-providers/hybridauth-amazon/ directory into the Hybrid/ directory.

cd vendor/hybridauth/hybridauth/
cp -R additional-providers/hybridauth-amazon/* hybridauth/Hybrid/

Clear all caches. Enable the provider in the plugin configuration and you should be good to go.

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

No branches or pull requests

1 participant