Incomplete auth system urls
See original GitHub issuein the base.html template, there is this code:
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'account_logout' %}">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item">
<a id="sign-up-link" class="nav-link" href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a>
</li>
<li class="nav-item">
<a id="log-in-link" class="nav-link" href="{% url 'account_login' %}">{% trans "Sign In" %}</a>
</li>
{% endif %}
but ‘account_signup’, ‘account_login’, and ‘account_logout’ are not named url’s defined in any urls.py in the project. is this intentional and the user is expected to provide these routes/functions themselves? seems like there should at least be placeholders for them.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Authentication even with incomplete password
Any decent authentication scheme shouldn't rely on the individual characters of the passwords. The user enters the password and it is hashed and ......
Read more >/userInfo returns incomplete information if logged in passing ...
I login with AuthLock 10.18 and Authorization Code Grant flow, specifying my own audience (https://thisIsMyTest) and the scopes I want.
Read more >Can I use HTTP Basic Auth in URLs? - Dan Q
Go to http://<username>:<password>@<domain>/mandatory (authentication is mandatory). Experiment 1, then f0llow relative hyperlinks (which should ...
Read more >What is OAuth and How Does it Work? - TechTarget
OAuth (Open Authorization) is an open standard authorization framework for token-based authorization on the internet. OAuth, which is pronounced "oh-auth," ...
Read more >Using OAuth 2.0 for Web Server Applications | YouTube Data ...
This document explains how web server applications use Google API Client Libraries or Google OAuth 2.0 endpoints to implement OAuth 2.0 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pydanny, my pleasure 👍
Excellent question @chrickso. Added a383fa23788e976a6d9f30a2425cb33394042ce6 to clarify things.
Thanks @webyneter for the answer. 😄