Closed michielbdejong closed 2 months ago
I added some first draft code for this, will continue with this tomorrow
Trying this now straight in OcmStub, using readme instructions from there and then visiting https://localhost/shareWith?bob@localhost with a browser.
To see it working,
In OcmStub I'll start sending a code in in addition to sharedSecret, and that can be exchanged for a short-lived access token using a signed request. The token endpoint will be announced in /ocm-provider/ and /.well-known/ocm. I'll also mock a WebDAV API that checks the tokens in API request Authorization headers.