Skip to content

hensur/onedrive-cookie-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Onedrive Cookie Auth Proof of Concept

Some Microsoft Accounts (mostly university accounts) are in an unmanaged state. This happens if no DNS validation has been done. Microsoft allows login and full use of all webservices in this state, however, the API can't be used with these Accounts. Tools like rclone rely on the API to upload files to onedrive and cant authenticate. More details in this issue: rclone #1975

Apparently there is another way to access onedrive on an unmanaged Account. It is possible to use the WebDAV Endpoint which requires a valid cookie for authentication. Tools like davfs2 are able to mount a share by cookie authentication. More details can be foud in this blog post

This repo contains a go rewrite of this python implementation to aquire the cookie. I'd like to use my university with rclone. After getting a working cookie, I'd like to extend rclone with this feature. Which hopefully won't be that hard, since they already have a webdav connector.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages