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

[OC8] OCS Share API not working - general OCS authentication issue???? #12915

Closed
DeepDiver1975 opened this issue Dec 17, 2014 · 1 comment · Fixed by #12917
Closed

[OC8] OCS Share API not working - general OCS authentication issue???? #12915

DeepDiver1975 opened this issue Dec 17, 2014 · 1 comment · Fixed by #12917
Assignees
Labels
Milestone

Comments

@DeepDiver1975
Copy link
Member

thomas@nautilus-lan:~$ curl -u mirall-sharer:xxxxx -k https://test1.owncloud.com/owncloud7/ocs/v1.php/apps/files_sharing/api/v1/shares 
<?xml version="1.0"?>
<ocs>
 <meta>
  <status>ok</status>
  <statuscode>100</statuscode>
  <message/>
 </meta>
 <data/>
</ocs>
thomas@nautilus-lan:~$ curl -u mirall-sharer:xxxxx -k https://test1.owncloud.com/owncloud8/ocs/v1.php/apps/files_sharing/api/v1/shares 
<?xml version="1.0"?>
<ocs>
 <meta>
  <status>failure</status>
  <statuscode>997</statuscode>
  <message>Unauthorised</message>
 </meta>
 <data/>
</ocs>
@DeepDiver1975
Copy link
Member Author

@LukasReschke the authentication against oc7 works - where as against oc8 it fails - afaik we changed something ....

@LukasReschke LukasReschke self-assigned this Dec 17, 2014
LukasReschke added a commit that referenced this issue Dec 17, 2014
Potentially fixes #12915 and opens the door for potential other bugs...

Please test very carefully, this includes:

- Testing from OCS via cURL (as in #12915)
- Testing from OCS via browser (Open the "Von Dir geteilt" shares overview)
- WebDAV
- CalDAV
- CardDAV
@MorrisJobke MorrisJobke added this to the 8.0-current milestone Dec 17, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants