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

demo app gives 404 on /accounts/login/after email confirmation #192

Open
Kyle-Falconer opened this issue Mar 15, 2016 · 4 comments
Open

Comments

@Kyle-Falconer
Copy link

Step 1: sign up for an account at http://localhost:8000/signup/, the terminal gives the following output with a confirmation link:

[15/Mar/2016 21:12:20] "GET /admin/ HTTP/1.1" 200 7482
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: [127.0.0.1:8000] Please Confirm Your E-mail Address
From: webmaster@localhost
To: [removed email address]
Date: Tue, 15 Mar 2016 21:14:52 -0000
Message-ID: <20160315211452.862.5312@vtaisg708384.local>

Hello from 127.0.0.1:8000!

You're receiving this e-mail because user [removed email address] at localhost has given yours as an e-mail address to connect their account.

To confirm this is correct, go to http://localhost:8000/account/confirm-email/czgttjbduondjtg0mnnictufdyp8mty3tfkgvk9lw6gkewgvccrbsj1vjmlzffqc/

Thank you from 127.0.0.1:8000!
localhost
-------------------------------------------------------------------------------

Step 2: visit the URL mentioned and click the verify button. The user is then redirected to /accounts/login/ which results in a 404:

[15/Mar/2016 21:14:53] "POST /rest-auth/registration/ HTTP/1.1" 201 50
[15/Mar/2016 21:15:01] "GET /login/ HTTP/1.1" 200 5103
[15/Mar/2016 21:15:07] "POST /rest-auth/login/ HTTP/1.1" 200 50
[15/Mar/2016 21:15:39] "GET /account/confirm-email/czgttjbduondjtg0mnnictufdyp8mty3tfkgvk9lw6gkewgvccrbsj1vjmlzffqc/ HTTP/1.1" 200 4578
[15/Mar/2016 21:15:44] "POST /account/confirm-email/czgttjbduondjtg0mnnictufdyp8mty3tfkgvk9lw6gkewgvccrbsj1vjmlzffqc/ HTTP/1.1" 302 0
Not Found: /accounts/login/
[15/Mar/2016 21:15:44] "GET /accounts/login/ HTTP/1.1" 404 3884

screen shot 2016-03-15 at 2 22 33 pm

@Kyle-Falconer Kyle-Falconer changed the title demo app gives 404 on /accounts/login/after email confirmation demo app gives 404 on /accounts/login/after email confirmation Mar 15, 2016
@kstratis
Copy link

+1

@mariodev
Copy link
Contributor

Seems like you're missing this in your urls:
url(r'^accounts/', include('allauth.socialaccount.urls'))

@mariodev
Copy link
Contributor

Did the above answer resolved your issue? @Kyle-Falconer @kstratis

@Kyle-Falconer
Copy link
Author

@mariodev possibly, but I'm not running this right now so I can't test it.

The point of it was this was the demo app, so it should have been included and working out of the box.

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

3 participants