You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read this First
If you have a Trusted Web Activity related question, the best place to ask it is on StackOverflow, on the trusted-web-activity tag, which is also monitored by the team.
Describe the bug
OAuth redirect is not working in the given example.
custom-tab-oauth example is supposed to show how github oauth authentication can be done with Chrome Custom Tabs (CCT). But CCT never closes and control is never passed back to MainActivity
To Reproduce
Add the correct clientId and Secret for github OAuth client setup in code.
Start the application in AVD emulator.
MainActity opens.
Click on Login, CCT is opened and github login page is shown.
Expected behavior
Since the MainActivity has configured intent-filter filter OAuth callback url (https://oauth-custom-tabs.glitch.me/oauth/auth-callback.html), when github redirects to this URL, the MainActivity should open for further OAuth flow processing.
Did this ever used to work
n/a
Screenshots
Code Snippets
If applicable, add or link to code snippets describing how the API is being used.
Smartphone (please complete the following information):
Device: Pixel 2, API-29
OS: Android 10
Browsers Installed: Chrome
Browser Versions: 74.0.3729.185
android-browser-helper library version: Latest
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Handling the callback relies on configuring App Links for the Android app and the callback origin, so it won't work unless you test it on your own origin and setup App Links.
Read this First
If you have a Trusted Web Activity related question, the best place to ask it is on StackOverflow, on the
trusted-web-activity tag, which is also monitored by the team.
Describe the bug
To Reproduce
Expected behavior
Since the MainActivity has configured intent-filter filter OAuth callback url (https://oauth-custom-tabs.glitch.me/oauth/auth-callback.html), when github redirects to this URL, the MainActivity should open for further OAuth flow processing.
Did this ever used to work
n/a
Screenshots
![image](https://user-images.githubusercontent.com/481408/112731134-87519a00-8f5b-11eb-9584-ea92d56d2d04.png)
Code Snippets
If applicable, add or link to code snippets describing how the API is being used.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: