Skip to content

Registration and authentication improvements #634

Closed

Description

@Zeigren

I'm thinking of something in lines of what django-allauth provides. Here's a description of some of the flows:

  • Signup of both local and social accounts
  • Connecting more than one social account to a local account
  • Disconnecting a social account – requires setting a password if only the local account remains
  • Optional instant-signup for social accounts – no questions asked
  • E-mail address management (multiple e-mail addresses, setting a primary)
  • Password forgotten flow
  • E-mail address verification flow

Activity

  1. a7hybnj2 commented on Feb 3, 2020

    @a7hybnj2

    Just out of curiosity in what type of setting would this be necessary? I think linking a 'in house' inventory tracking solution to any type of 'social' account seems entirely unnecessary.

    Again this project seems to me like a 'in house' solution where only one email, the work email, should be associated with each 'employee/user'.

    There is already a way for the 'administrator' to reset passwords.

    Note: I do not speak for the development team. I am just a very satisfied user that thinks having any need for linking/using social accounts to be quite silly.

  2. Zeigren commented on Feb 3, 2020

    @Zeigren
    Author

    So I'm going to use InvenTree on a public opensource project and think it could be a great solution for other opensource projects. Having a administrator manually do everything could get very tedious, especially if you're not getting paid. This is something that I'm going to be working on once #603 is done.

  3. a7hybnj2 commented on Feb 3, 2020

    @a7hybnj2

    I can understand that. I only have so much time to give away for free.

    I would ask if this is going to be something added in the future that it be able to Completely Opt-Out. As in make it an installation option so that if need be the project can be used with no trace of SSO or other outside network credentials.

    There are many organizations, like mine, that are hesitant to have such things present. Any telemetry or offsite services that the project/tool is reliant on is just another thing to have to watch and worry about.

  4. Zeigren commented on Feb 3, 2020

    @Zeigren
    Author

    For sure this should be 100% opt-in since everyone's needs are going to be different. I know my use case is a bit of an outlier. It would be easiest to have all these settings in settings.py anyway so only whoever has access to the installation would be able to enable anything. It should be possible to restrict e-mail domains so if any of the e-mail features are enabled they'll only work for anyone @mybusiness.com. If registration is enabled you should be able to give new users a default set of permissions that can be chosen by the administrators.

  5. SchrodingersGat commented on Feb 10, 2020

    @SchrodingersGat
    Member

    @Zeigren this is straying pretty far from what I would consider a "core feature" of InvenTree - especially given that there are so many other main features that I haven't yet had any time to implement. I personally would prefer development work to be focused on the other core features first...

  6. excitedbox commented on Feb 14, 2020

    @excitedbox

    This feature would only really be interesting for someone using this as a SAAS. If you have all these options it only takes adding an owner id to a few tables, and DB queries to make it a multi user app running off 1 install. I am willing to bet that is also why he is waiting for permissions to be added. As soon as that is added we will be seeing this reskinned and offered as the next inventory management platform.

    If that is allowed then it should really not be too hard to add but I assume that Schrodinger is not looking to help you make money selling his work.

  7. a7hybnj2 commented on Feb 15, 2020

    @a7hybnj2

    Seems like the wrong direction to me.

  8. Zeigren commented on Feb 16, 2020

    @Zeigren
    Author

    No worries I can always maintain it on a fork. I mostly brought this up after seeing #625 since this would cover that and add additional improvements for local accounts.

    This feature would only really be interesting for someone using this as a SAAS.

    That's the exact opposite of what my project is about. Besides the obvious account management stuff in django-allauth the reason I'm adding social authentication/SSO is to make it easier for users since my project consists of multiple programs with separate logins. I also don't have to worry so much about storing user passwords, even if they are encrypted.

  9. eeintech commented on Oct 13, 2020

    @eeintech
    Contributor

    @Zeigren Is that something you are still into? We have recently improved the management of permissions in InvenTree, maybe that could help with sharing your project and setting-up users?

  10. added
    roadmap
    on Aug 24, 2021
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

    roadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions