Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSLC 3.0 Core Compatibility #12

Open
muggy83 opened this issue Feb 1, 2021 · 3 comments
Open

OSLC 3.0 Core Compatibility #12

muggy83 opened this issue Feb 1, 2021 · 3 comments

Comments

@muggy83
Copy link

muggy83 commented Feb 1, 2021

As a long term goal, it would be nice to achieve also OSLC Core 3.0 compatibility.

@isccarrasco
Copy link
Collaborator

Hi @muggy83.

I have been reading and reviewing the differences between both specifications, in my point of view there are three main topics that should be taken in account to add support for OSLC v3 on PyOSLC.

  1. OpenIDConnect.- The recommendation of OSLC v3 is to use OIDC to add the security layer to the endpoints, this requires the implementation of OAuth 2.0 since OIDC work upon OAuth 2.0, now we are working with OAuth 1.0a for the interaction with other platforms.
  2. LDPPaging.- Since OSLC v3 works on LDP it requires to use this approach for managing the responses on the query capabilities.
  3. Previews.- For the previews of Delegated UI, there are some adjustments that should be applied to manage the new headers to retrieve the dialogs.

There are other topics but for now these seem like the most impactful on the development.

We can start analyzing the way to start working on this new topics.

Regards!

@berezovskyi
Copy link

Hello there, just wanted to add a few remarks:

  1. OIDC is likely to be no. 1 thing for companies to adopt.
  2. LDP support is optional. Furthermore, LDP paging is not part of the W3C LDP spec and OSLC decided to adopt LDP without recommending LDP paging and keep OSLC paging instead. Discussion on the https://forum.open-services.net/ or https://lists.oasis-open-projects.org/g/oslc-op welcome. See https://oslc-op.github.io/oslc-specs/specs/core/oslc-core.html#usingResourcePaging for details.
  3. We finally mentioned Root Services in the spec and registered a "well-known" URI /.well-known/oslc/rootservices.xml to allow server connection to be set up more easily. See https://oslc-op.github.io/oslc-specs/specs/core/discovery.html#wellKnown
  4. Regarding the dialogs, the most important change in the spec is the strong recommendation to set up CSP and CORS correctly: https://oslc-op.github.io/oslc-specs/specs/core/oslc-core.html#resourceRepresentations and https://oslc-op.github.io/oslc-specs/specs/core/dialogs.html##embed_policy

Good luck and congrats on the release of the Python OSLC support!

Cheers,
Andrew
OSLC PGB co-chair

@fpatz
Copy link
Member

fpatz commented Feb 15, 2021

Thanks for the insights, this is very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants