Giter VIP home page Giter VIP logo

Comments (4)

reinkrul avatar reinkrul commented on July 21, 2024

The RFC is too vague on this point, needs clarification:

Each service MUST define an oauth serviceEndpoint. This endpoint is either the URL of the authorization server, or in case of a compound service an URI which resolves to another service. In order for the client to resolve the authorization server endpoint it MUST look up the auth service endpoint of the service.

  • does "it MUST look up the auth service endpoint of the service." apply to the compound endpoints?
  • is auth a typo which should've been oauth?

https://nuts-foundation.gitbook.io/drafts/rfc/rfc003-oauth2-authorization

from nuts-node.

woutslakhorst avatar woutslakhorst commented on July 21, 2024

maybe we should solve the service CRDT problem first, which might result in abandoning the service reference concept...

from nuts-node.

woutslakhorst avatar woutslakhorst commented on July 21, 2024

maybe we should solve the service CRDT problem first, which might result in abandoning the service reference concept...

services will be immutable, but still referenceable via URI query params. So RFC003 needs a clarification?

from nuts-node.

woutslakhorst avatar woutslakhorst commented on July 21, 2024

there's a bit more involved:

  • create a bearer token => requires the oauth service id. There's support for scope <- use as bolt? Renaming to service might be better
  • use vdr to resolve the service ID,
  • create token
  • The token is only useable at the url defined by the service ID. Now it's up to the user to use it. The service could return the URL/Service as return value next to the token.

from nuts-node.

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.