Comments (6)
Hurray! Running the website from http://127.0.0.1:8000 instead of http://localhost:8000 in the browser solved it!
Thanks for leading me in the right direction. Might add that it tips for the google login instructions as well.
Again, awesome work! And thanks for the quick response!
from demo-allauth-bootstrap.
Excellent!
I've updated the README to make this more clear - hopefully anyway.
I don't know why you got the No module named bootstrap3
error. That implies you're running a version of Python without that module installed, but it wouldn't work from make run
if that were the case. Anyway, sounds like that isn't a problem any more.
from demo-allauth-bootstrap.
Thanks for the nice words :)
Getting the URIs right can be annoying. Facebook is even worse than Google, but I updated the instructions recently and hopefully it's a bit clearer.
It's almost certainly your Google credentials set up and not a bug. Usually when this happens to me it's that the Facebook/Google credentials aren't set up right, or the UI labels are misleading (Facebook).
Steps to check something like...
- Are you definitely serving the site on
http://localhost:8000
? - In your Google credentials configuration does "authorised javascript origin" definitely include
http://127.0.0.1:8000
? - On the same screen does "authorised redirect URIs" definitely include
http://127.0.0.1:8000/accounts/google/login/callback/
?
from demo-allauth-bootstrap.
Wow! That was a quick response! Thanks!
I've doublechecked the Google credentials thrice now so, they are correct. However, you write in 1) Are you definitely serving the site on http://localhost:8000 ?
It seems when I run "make run" that the server is at http://127.0.0.1:8000 but that shouldn't be a problem right?
But, when I want to launch the demo not using make, using "python manage.py runserver 127.0.0.1:8000" i get import errors: "No module named 'bootstrap3'.
Can that have something to do with it?
from demo-allauth-bootstrap.
I tried both http://127.0.0.1:8000/ and http://localhost:8000/ in my javascript origins. I am still getting the redirect_url_mismatch error.
Please help.
from demo-allauth-bootstrap.
from demo-allauth-bootstrap.
Related Issues (17)
- make rebuild error: " LookupError: App 'auth' doesn't have a 'demouser' model." HOT 2
- LookupError: App 'auth' doesn't have a 'demouser' model HOT 3
- Not working in Django==1.8.1 HOT 3
- Whats make configure? Can't run this?? HOT 3
- Login view mixup HOT 8
- On python configure.py Error:context must be a dict rather than Context. How render works is changed in Django 1.11 HOT 1
- Running configure.py doesn't work out of the box HOT 3
- no such table: main.socialaccount_socialapp__old HOT 3
- Typos
- make configure syntax error at configure.py line 70 HOT 3
- Running "python configure.py" fails HOT 4
- openid_connect example missing
- makemigrations does not pick up changes to UserProfile model HOT 2
- change syncdb to makemigrations HOT 2
- Error creating super user HOT 2
- Abstract User relation Error on make rebuild HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demo-allauth-bootstrap.