puntonim / ansible-biostar

An Ansible playbook to automatize the deployment of a Biostar-based project using Docker containers
http://painl.es/ansible-biostar/
GNU General Public License v3.0
10 stars 3 forks source link

Social provider logins in staging #16

Closed puntonim closed 10 years ago

puntonim commented 10 years ago

Seems they are broken, it should be a matter of callback urls.

brainstorm commented 10 years ago

I guess that the URL redirect hack does not play well with it. Just use persona for staging for now, it does not require all the Oauth tokens dance...

puntonim commented 10 years ago

If I remember well, this problem is older than the redirect thing and Google currently says: "http://staging.neurostars.org/accounts/google/login/callback/ did not match a registered redirect URI". So it really seems a matter of callback urls.

brainstorm commented 10 years ago

My point was that other than having to debug this particular OAuth extensions on staging, you can just use mozilla persona, which works flawlessly locally, on staging and in production. No maintenance needed.

BTW, speaking of django-allauth, how is ORCID going? Need some help?

puntonim commented 10 years ago

I haven't started with ORCID yet. I'm working on Travis-CI today.

brainstorm commented 10 years ago

Alright, let me know if you need some pointers on Travis too. Here's an example of a Travis-CI yml file we wrote on my previous job:

https://github.com/SciLifeLab/bcbb/blob/master/.travis.yml