Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8524

OAuth Callback URL rejects custom schemes (BB-13777)

      I am trying to create an iOS app and have setup a custom URL scheme.

      Bitbucket doesn't seem to like this as I am redirected to an error 500 page. (instead of my app opening)

      When replacing my custom URL scheme with http://google.com everything works as expected.

            [BCLOUD-8524] OAuth Callback URL rejects custom schemes (BB-13777)

            evzijst added a comment -

            Yes, it looks like we regressed when we redesigned the OAuth UI as part of OAuth 2 and privilege scopes.

            I'll see if I can create a quick fix.

            evzijst added a comment - Yes, it looks like we regressed when we redesigned the OAuth UI as part of OAuth 2 and privilege scopes. I'll see if I can create a quick fix.

            rbnio added a comment -

            @evzijst have there been any changes about this? I also wanted to create an OAuth consumer for an iOS app, so I need a callback URL that starts with a custom URL scheme. According to this thread this was possible in the past, but currently I get an "Enter a valid URL" error on the form when entering a non-http:// URL

            rbnio added a comment - @evzijst have there been any changes about this? I also wanted to create an OAuth consumer for an iOS app, so I need a callback URL that starts with a custom URL scheme. According to this thread this was possible in the past, but currently I get an "Enter a valid URL" error on the form when entering a non-http:// URL

            Thanks @evzijst .

            evzijst added a comment -

            @rss_samuel Basically URLs that don't start with http://, but with something completely custom. People writing native, non-browser apps can bind those schemes to their application so that the browser will open it when it gets redirected to it.

            If you've ever used bittorrent you may have seen "magnet links" which is an application of custom URL schemes.

            evzijst added a comment - @rss_samuel Basically URLs that don't start with http:// , but with something completely custom. People writing native, non-browser apps can bind those schemes to their application so that the browser will open it when it gets redirected to it. If you've ever used bittorrent you may have seen " magnet links " which is an application of custom URL schemes.

            @evzijst what your mean of custom url schemes?

            Legacy Bitbucket Cloud User (Inactive) added a comment - @evzijst what your mean of custom url schemes?

            evzijst added a comment -

            I have deployed a fix for this. Custom URL schemes can now be used in OAuth callback URLs.

            evzijst added a comment - I have deployed a fix for this. Custom URL schemes can now be used in OAuth callback URLs.

            evzijst added a comment -

            I had a closer look and realized this is a regression on our end.

            evzijst added a comment - I had a closer look and realized this is a regression on our end.

            evzijst added a comment -

            Closing this preemptively.

            evzijst added a comment - Closing this preemptively.

            evzijst added a comment -

            This is more a support request than a feature request. I suggest we move it to support so we can discuss the details of your app, your actual requests and your consumer information.

            Can you email all relevant details to support@bitbucket.org?

            evzijst added a comment - This is more a support request than a feature request. I suggest we move it to support so we can discuss the details of your app, your actual requests and your consumer information. Can you email all relevant details to support@bitbucket.org?

              6995b9ed1710 evzijst
              76dea0398014 allanchau
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: