-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Add support for oCIS - ownCloud Infinite Scale #14166
Comments
With #14877 we allow to configure usage of OAuth for WebDAV connections in connection profiles. |
Legacy OAuth 2.0 vs Basic Auth detection (still works in oC10 + oCIS as of today)In an unauthenticated PROPFIND to the WebDAV endpoint, ownCloud clients check for curl -s -I --http1.1 "https://demo.owncloud.org/remote.php/dav/files/" | grep -i -e "HTTP/" -e "www-authenticate"
HTTP/1.1 401 Unauthorized
Www-Authenticate: Basic realm="ownCloud", charset="UTF-8" ➡️ ownCloud clients use Basic Auth curl -s -I --http1.1 "https://demo.owncloud.com/remote.php/dav/files/" | grep -i -e "HTTP/" -e "www-authenticate"
HTTP/1.1 401 Unauthorized
Www-Authenticate: Bearer realm="ownCloud"
Www-Authenticate: Basic realm="ownCloud", charset="UTF-8" ➡️ ownCloud clients use OAuth 2.0 (if there's no trace of OpenID connect) Here you can find more information: Legacy OpenID Connect detection (still works in oC10 + oCIS as of today)After After detection of curl -s --http1.1 "https://ocis.ocis-traefik.latest.owncloud.works/.well-known/openid-configuration" | jq | grep -i "authorization_endpoint"
"authorization_endpoint": "https://ocis.ocis-traefik.latest.owncloud.works/signin/v1/identifier/_/authorize", |
New, Webfinger based OpenId Connect discoveryLatest oCIS versions and latest ownCloud clients perform an unauthenticated Here you can find more information 1. Footnotes |
The LibreGraph API seems to miss support for versioning 1. That will not allow us to replace the OCS API implementation currently used. Footnotes |
The DAV meta API is used for the versions and is considered future proof. |
New concept of spaces accessible using LibreGraph
oCIS uses WebFinger RFC7033 to locate the oCIS instance for an End-User.
Now uses OAuth for authentication. Must discover the OAuth endpoints somehow.
/.well-known/openid-configuration
as defined by OpenID Connect DiscoveryThe text was updated successfully, but these errors were encountered: