Unfortunately, I haven't had too much time to dedicate to this but have had a few discussions and a bit more time to think about it.
It seems to me that form-based auth for RESTful web services should be forbidden. There are clear standards on how to deal with authentication programmatically over HTTP: basic, digest, OAuth. Since the cost to implement basic-auth and utilize https is relatively small, it seems that adding more options (beyond basic, digest and oauth) will only further compound interoperability issues with client consumers.
More discussions and research should be done, though my current thinking would only be to add a statement to the OSLC-CM 1.0 specs stating that form-based auth is NOT recommended.
Various topics on tool integration, continuous delivery, DevOps, Cloud (OpenShift, OpenStack, Docker, Kubernetes), open source, open communities, OSLC and W3C Linked Data Platform
Showing posts with label auth. Show all posts
Showing posts with label auth. Show all posts
Monday, August 24, 2009
Friday, June 26, 2009
RESTful authentication and dealing with form-based auth
Early experiences with OSLC CM 1.0 indicate that discovery of authentication model of some service providers is needed, especially if form-based authentication is used. I'm doing some searching, research and analysis of various approaches to solving this problem in a consistent manner.
Some options include:
Some options include:
- Prohibit the use of form-based authentication
This involves requiring at a minimum Basic or Digest authentication schemes. This may have some implications to some applications as they may not be well suited to make this change. - Standardize the use of form-based authentication
Since HTTP's WWW-Authenticate header is extensible, it could be possible to indicate the needed meta data either in the header and/or response body for the consumer to perform the authentication.
Subscribe to:
Posts (Atom)