AppAuth-Android: RedirectUriReceiverActivity not getting called

RedirectUriReceiverActivity is not getting called after authentication.Instead it opens browser. Chrome version : 59.0

My code are below

 <activity android:name="net.openid.appauth.RedirectUriReceiverActivity">
  <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:scheme="net.openid.appauth.demo"/>
    <data android:scheme="http://www.mygofer.com/lps-subscription/api/v1/subscription/digital/email/oauth2/callback"/>
  </intent-filter>
  <intent-filter android:autoVerify="true">
    <action android:name="android.intent.action.VIEW" />

    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />

    <data
        android:host="www.mygofer.com"
        android:path="/lps-subscription/api/v1/subscription/digital/email/oauth2/callback"
        android:scheme="http" />
  </intent-filter>
</activity>

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 25 (9 by maintainers)

Most upvoted comments

Please open separate issues, I can’t help when you all dogpile on the same issue when the causes are likely different.

If you are using Google Sign-in, please first try and make the demo application work with your client ID. Instructions are provided for the demo app that should help.

59.0.3071.125

I would suggest to follow the steps suggested in that screenshot, visit the dev console and whitelist your EXACT redirect_uri