[Python] Django Allauth's Google Login Redirect and Page Design

Discussão em 'Python' iniciado por Stack, Janeiro 26, 2025.

  1. Stack

    Stack Membro Participativo

    Currently, on the login page, I have a button:

    <div class="d-grid gap-2">
    <a href="{% provider_login_url 'google' %}" class="btn btn-danger">
    <i class="fab fa-google"></i> Sign in with Google
    </a>
    </div>


    This redirects to accounts/google/login/, and that page allows for redirection to Google authentication.

    I have two problems:

    1. I don't know if these two steps are necessary and I don't see the value of having the extra step accounts/google/login/.
    2. I don't know how to replace the standard layout of the accounts/google/login/ page (in case it is really needed).

    Continue reading...

Compartilhe esta Página