oxalica/onedrive-fuse

Is Onedrive Bussiness supported?

Opened this issue · 6 comments

I see docs are saying choosing app type as personal account, is bussiness also supported?

I'm not sure, because I cannot test it.

let token_resp = auth.login_with_code(&code, None).await?;

Client secret is None here, may be business account need that?

let token_resp = auth.login_with_code(&code, None).await?;

Client secret is None here, may be business account need that?

well, that's not correct, bussiness account require their own auth url with tenant name to permit the application.

Not sure if this is related: #10

Hi @oxalica, I have tried business account and can't proceed with the login. How to help with the debug and fix this if you can pointing? Worse case I think I can add you to my business account temporarily...

SCR-20240610-kxls

I have tried business account and can't proceed with the login

Sorry but since b923c10, we now only support consumer accounts. I'm not confident enough about this project for business usage.

Changing the endpoint should be easy by just replacing Tenant:: values in that commit. You can do it in your own fork.