Changes for page Interacting with the drive
Last modified by allan on 2020/03/10 13:57
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. allan1 +XWiki.villemai - Content
-
... ... @@ -2,7 +2,7 @@ 2 2 3 3 The drive is based on Seafile. Seafile comes with a restful API which allows you to interact with the content and libraries. You can find the documentation for the Seafile API here: [[https:~~/~~/download.seafile.com/published/web-api/home.md>>https://download.seafile.com/published/web-api/home.md]] 4 4 5 -The Collaboratory.Drive is protected using OpenID Connect. The authentication is done by using [[access tokens>>https://tools.ietf.org/html/rfc6750#section-2.1]]. You need to have an application which the user logs into to obtain a token for the user. This application will need an OpenID Connect client to be registered. You can find instructions here: [[Creating YourClient>>doc:Collabs.collaboratory-community-apps.Community.WebHome||anchor="HCreatingyourOpenIDConnectclient"]].5 +The Collaboratory.Drive is protected using OpenID Connect. The authentication is done by using [[access tokens>>https://tools.ietf.org/html/rfc6750#section-2.1]]. You need to have an application which the user logs into to obtain a token for the user. This application will need an OpenID Connect client to be registered. You can find instructions here: [[https:~~/~~/wiki.humanbrainproject.eu/bin/view/Collabs/collaboratory-community-apps/Community%20App%20Developer%20Guide/#HCreatingyourOpenIDConnectclient>>https://wiki.humanbrainproject.eu/bin/view/Collabs/collaboratory-community-apps/Community%20App%20Developer%20Guide/#HCreatingyourOpenIDConnectclient]]. 6 6 7 7 (% class="box infomessage" %) 8 8 ((( ... ... @@ -13,7 +13,7 @@ 13 13 14 14 15 15 {{code language="bash"}} 16 -curl -H "Authorization: Bearer $access_token" https://drive. ebrains.eu/api2/...16 +curl -H "Authorization: Bearer $access_token" https://drive.humanbrainproject.eu/api2/... 17 17 {{/code}} 18 18 19 19