GithubHelp home page GithubHelp logo

Comments (5)

vsoch avatar vsoch commented on August 15, 2024

The easy ones to do are via python social auth: https://python-social-auth.readthedocs.io/en/latest/backends/index.html#supported-backends I can definitely look at this when some time opens up, but likely not soon (I'm a bit overloaded with things to do!)

if you want to jump in and PR to either sregistry or social auth (to add for other users) they have instructions here: https://python-social-auth.readthedocs.io/en/latest/backends/implementation.html

It might be a great project in spirit of Hacktoberfest! I'll put a label here in case anyone else is looking for a hacktoberfest project :)

from sregistry.

victorsndvg avatar victorsndvg commented on August 15, 2024

Thanks @vsoch ,

I'm very busy too ... πŸ˜… , but I will try to take a look to this ASAP.

Another question, there is a way to test locally sregistry login without a twitter account?

Thanks,
VΓ­ctor.

from sregistry.

victorsndvg avatar victorsndvg commented on August 15, 2024

Merry X-mas & happy new year @vsoch ,

I did the pull request #72 to include the fiware OAuth2 backend (thanks to @emepetres !). Let me know what do you think about it. If you agree, we can iterate over the PR to get it ready to be accepted and merged.

An interesting use case with this backend is to deploy a local IDM as authentication server. We can also think about it.

Related with this use case, I would like to know if it's possible to give some privileges to users that are loged in using a particular social auth backend. Something similar to what is being done with LDAP:

AUTH_LDAP_USER_FLAGS_BY_GROUP = {
    "is_admin": "ou=...,dc=...,dc=..",
    "is_superuser": "ou=...,dc=...,dc=.."
}

Is it possible right now? Do you think is it interesting?

Thanks in advance!

from sregistry.

vsoch avatar vsoch commented on August 15, 2024

thanks @victorsndvg ! For the PR, let's keep discussion on the PR itself. I'll re-iterate that I think the backend support is a fantastic idea, and the implementation to do would be having it as a plugin (akin to LDAP). For the general permissions question, could you write out how you see this working (and some examples) and please open a new issue? This issue is about integration with FiWare (and not this new idea). Thank you!

from sregistry.

victorsndvg avatar victorsndvg commented on August 15, 2024

Related with #72

from sregistry.

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.