Configuring ssh-keys with 2.0 api not possible with OAuth token


#1

I’m the developer of a Git client¹ for iOS that currently uses the BitBucket 1.0 API to configure SSH keys on behalf of the user. I have been sticking with this API through deprecation because the 2.0 API doesn’t allow authenticating with OAuth, but come April 2019 the 1.0 API shuts down.

Most of my users are on iPhone and manually configuring SSH keys or creating app passwords in a mobile browser is very inconvenient.

Are there any plans to allow OAuth authentication for SSH configuration before the April shutdown?

[1] https://workingcopy.app/


#2

Hi @palmin,

We will not be allowing OAuth authentication for SSH configuration for security reasons. We would recommend that you clone and do other repository requests via https using OAuth tokens instead.