Code Monkey home page Code Monkey logo

Comments (4)

drasko avatar drasko commented on May 16, 2024

Do we need Hyrda - it is there if you want to be Identity Provider. You must bring your IdM, they are suggesting AuthBoss. Also there is this one: https://github.com/janekolszak/idp

from magistrala.

mijicd avatar mijicd commented on May 16, 2024

As more as I'm reading about it, I am less convinced that we need to introduce Hydra at this point of development. It sure is a very good solution but I am not sure that we need it at all.

from magistrala.

drasko avatar drasko commented on May 16, 2024

Agreed.Me neither. We talked about this scenario before:

  • You are making a web app that relays on Mainflux for services
  • Your web app is muti-user, but under the hub these users are Mainflux users
  • When user tries to log it is redirected to Mainflux login

From me this is Oauth2.0 OpenID Connect flow, but maybe I am wrong. In that case Mainflux must be Oauth2.0 Identity Provider.

This is second phase IMHO, we can come back to this later. But if we need IdP, maybe it is worh looking at something like this: https://github.com/janekolszak/idp, so we can leverage Hydra later?

Here: https://ory-am.gitbooks.io/hydra/content/what-good.html:
Hydra is not something that manages user accounts. Hydra does not offer user registration, password reset, user login, sending confirmation emails. This is what the Identity Provider ("login endpoint") is responsible for. The communication between Hydra and the Identity Provider is called Consent Flow. Auth0.com is an Identity Provider. We might implement this feature at some point and if, it is going to be a different product.

from magistrala.

drasko avatar drasko commented on May 16, 2024

Hydra is something to look if we ever need OAuth 2.0. Closing the issue for now.

from magistrala.

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.