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

OSLCServer connect() and use() are jazz.net app specific #18

Open
jamsden opened this issue Apr 16, 2018 · 1 comment
Open

OSLCServer connect() and use() are jazz.net app specific #18

jamsden opened this issue Apr 16, 2018 · 1 comment

Comments

@jamsden
Copy link
Contributor

jamsden commented Apr 16, 2018

OSLCServer currently uses jazz.net specific login on connect() and jazz.net rootservices on use(). These could be made more generic. OSLC core does not mandate an authentication mechanism (but recommends Basic or OAuth/OpenID), nor does OSLC core specify how discovery is discovered. So it is not unusual for these two capabilities to be application specific.

However, some mechanism should be supported that is more open. Perhaps a separate login() function could be added to support Basic authentication. Or connect() could have an additional function argument to use for login.

Instead of rootservices, use() could take a URI to a specific ServiceProviderCatalog and use that directly.

@jamsden
Copy link
Contributor Author

jamsden commented Mar 5, 2019

Also request.js does not support JEE Form authentication and isn't browser friendly - it doesn't rely on the browser to deal with authentication challenges.

Perhaps axios or SuperAgent might be better options.

Another option would be to figure out how to register request and/or response receptors in request.js and implement JEE Form authentication there.

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

1 participant