The browser won't get closed and hence not able to catch the sign-in response
See original GitHub issueHi, the demo app won’t return back to the caller activity after authentication is successful. I have used the default settings what was already made for this app. here is the manifest extract from the demo app.
<activity android:name="net.openid.appauth.RedirectUriReceiverActivity"
tools:node="replace">
<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="https"
android:host="net.openid.appauthdemo"
android:path="/oauth2redirect"/>
</intent-filter>
</activity>
Is this default setting in the demo app needs to be modified? after succesful login, the browser wont get closed and hence not able to go back to the MainAcitivity of this app. (Also, I have not completely understood the redirect/uri scheme here. pls point me to the links that provide more info about it)
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should do it:
Once we have confirmation that custom tabs are fixed in SBrowser at a particular version,
VersionRange.ANY_VERSION
can be substitutedForVersionRange.atMost(SBROWSER_FIX_VERSION)
whereSBROWSER_FIX_VERSION
will be the last broken version number of SBrowser.Should this work with a regular deep link? Or does AppAuth require a app link to work properly with HTTPS redirects? (https://developer.android.com/training/app-links#app-links-vs-deep-links)