Chrome Oauth2 Flow Custom Tabs

I am using custom chrome tabs to login with strava. I can authorize the application, but the chrome user tabs are not redirected back to my application when the redirect is reached.

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data
       android:host="sample.example.com"
       android:pathPrefix="/"
       android:scheme="http" />
</intent-filter>

How can I redirect back to the application when custom chrome bookmarks are sent to redirect the URI?

+4
source share
2 answers

strava http [s] .
, chrome.

0

: https://code.google.com/p/chromium/issues/detail?id=536037 URI .

URI, strava://callback sample://example.

, , URI, , redirect_uri, .

+1

Source: https://habr.com/ru/post/1627391/


All Articles