I agree this is very useful.
Example real use from my side: rclone.org already supports Proton Drive as backend. But it obviously requires proton password+2FA. And this is not what I want to provide to 3rd parties. Considering that I have too much of my data stored behind these credentials to share them with untrusted apps. I would really like to add OAuth based authentication method with clear scopes. I know that this is connected to E2EE and at this moment encryption key is derived from proton password and this limits the solutions field. But in my opinion Proton Drive should work another way. Authentication and encryption should be separated. So I could use a 3-rd party app to do this. Then authentication would work via OAuth but encryption would be my choice. Potentially even give a user a choice to not encrypt data at all.
I agree this is very useful.
Example real use from my side: rclone.org already supports Proton Drive as backend. But it obviously requires proton password+2FA. And this is not what I want to provide to 3rd parties. Considering that I have too much of my data stored behind these credentials to share them with untrusted apps. I would really like to add OAuth based authentication method with clear scopes. I know that this is connected to E2EE and at this moment encryption key is derived from proton password and this limits the solutions field. But in my opinion Proton Drive should work another way. Authentication and encryption should be separated. So I could use a 3-rd party app to do this. Then authentication would work via OAuth but encryption would be my choice. Potentially even give a user a choice to not encrypt data at all.