Skip to content

Registration with social-app-django #1045

Closed

Description

@lavisco

Expected behaviour

Is there any way to implement social-app-django for user registration? If yes then please someone guide me how to do this. Any help will be appreciated.

Actual behaviour

It only allows for user login and not for sign up

Activity

  1. jfschaff commented on Jul 12, 2021

    @jfschaff

    I just added this app to a Django project, and my understanding is that the same process is used both for registration and login. But this can be configured depending on what you want to do by changing the "pipeline" (see doc). The default pipeline does both registration and login.

    The default behavior I get is the following: using a slightly modified OpenID Connect provider, and the default pipeline :

    • on first social login by a user unknown to the Django user base, a new Django user is created and associated with the OpenID user provided by the identify server;
    • on next login, the same user is recognized and just authenticated.

    But this project is very modular and can be modified by changing:

    • the pipeline (I think this is the first thing you want to have a closer look at)
    • the provider (OAuth, OpenID, etc.)
    • the strategy
    • etc.

    I also had to modify the app, as described in python-social-auth/social-app-django#323, but this is not 100% clear yet.

  2. tiago-peres commented on Jan 3, 2023

    @tiago-peres

    Actual behaviour

    It only allows for user login and not for sign up

    Not true.

  3. locked and limited conversation to collaborators on Mar 14, 2025
  4. converted this issue into a discussion #1046 on Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions