Code Monkey home page Code Monkey logo

Comments (4)

pennersr avatar pennersr commented on June 16, 2024

Do I need to overwrite the base.html template in order to get this working again

For now, yes... it is fixed in 92b47ae. But, that base template is in any case something you wouldn't want to show up in production, so I would recommend to override it in any case.

from django-allauth.

robin24 avatar robin24 commented on June 16, 2024

Thanks for your comment, glad to hear this has already been addressed!

Quick question, if I just want to use my own templates such as the one containing the {% provider_login_url 'vatsim' %} tag, is there actually a need for another template prompting the user to confirm the redirection to the 3rd-party login page, or can I redirect users there immediately after clicking the link? I should be able to figure this out on my own tomorrow when taking another look at the provided templates, but a pointer in the right direction would definitely be much appreciated :-).

Thanks for all your hard work on this project, implementing my own provider over the past few days was really quite straightforward once I gained a solid understanding of everything that's involved there, and gave me a really nice chance to dig into the overall workings of the OAuth2 flow.

from django-allauth.

pennersr avatar pennersr commented on June 16, 2024

See https://docs.allauth.org/en/latest/socialaccount/configuration.html -- specifically the note about SOCIALACCOUNT_LOGIN_ON_GET on that intermediate page.

from django-allauth.

robin24 avatar robin24 commented on June 16, 2024

Thanks! Missed this yesterday,
SOCIALACCOUNT_LOGIN_ON_GET = True
is exactly what I was looking for (my project doesn't handle sensitive data so I think the security trade-off is OK here).

This now works beautifully and just how I wanted, really appreciate your help! 👍

from django-allauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.