Giter Club home page Giter Club logo

Comments (8)

shots47s avatar shots47s commented on August 16, 2024

So a concrete question on how we want this to proceed:

Options:

  1. We have a CONP Portal account, and a user needs to register first for that unique account and then we allow them to associate other accounts (e.g. ORCID, but not exclusive) to their account.
    a. Advantages

    1. A unique CONP id
    2. no additional registration required by external systems
    3. have the ability to associate other platform accounts.
      b. Disadvantages
    4. User have to sign up for another account
  2. We use ORCID as the CONP user portal account, a user needs to register a valid ORCID first and that becomes your primary login without a separate CONP login.
    a. Advantages

    1. If you have ORCID, no additional steps
    2. Portal not handling any authentication, all shipped to OAUTH
    3. Could still associate with other accounts
      b. Disadvantages
    4. Require our users to go to an external sight to get their initial CONP ID if they don't have one.

Each of these are straight forward. Right now, the system uses something in between. I am exploring flask libraries that allow us to mix and match.

from conp-portal.

shots47s avatar shots47s commented on August 16, 2024

Helpful discussion from Flask-Dance, which is a tool for associating accounts to Flask Users through OAUTH, to give you some idea of the technical aspects.

https://flask-dance.readthedocs.io/en/latest/multi-user.html

from conp-portal.

glatard avatar glatard commented on August 16, 2024

Ultimately I think we want to support both: either login with your preferred website (Orcid, GitHub, etc), or create an account manually. In practice, as dev resources are limited, I would say let's go for Orcid-only in the first release (so option 2), and then see if there's a need for more. That's also what OpenNeuro does (Orcid or Google in their case -- https://openneuro.org/).

from conp-portal.

shots47s avatar shots47s commented on August 16, 2024

Using the proper tools, it is really not much effort to implement one or the other.

Flask-Dance has canned interfaces to many of these (although oddly not to ORCID :))

from conp-portal.

tomgee avatar tomgee commented on August 16, 2024

I agree with Tristan's comment.

from conp-portal.

cmadjar avatar cmadjar commented on August 16, 2024

To be discussed when discussing authentication in a different call.

from conp-portal.

github-actions avatar github-actions commented on August 16, 2024

This issue is stale because it has been open 5 months with no activity. Remove stale label or comment or this will be closed in 3 months.

from conp-portal.

github-actions avatar github-actions commented on August 16, 2024

This issue was closed because it has been stalled for 3 months with no activity.

from conp-portal.

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.