-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot GET /android on specific "facebook" connection #49
Comments
@vishal-i4gs That's weird.. but I could reproduce it. The issue is probably in the auth0.android SDK. While we investigate, either downgrade to version 1.8.0 which is not using Chrome Custom Tabs or override the RedirectActivity's intent-filter using a custom scheme (follow this doc). Keep in mind that changing the scheme will impact in i) manually adding the intent-filter, overriding the RedirectActivity's, ii) changing the callback URL in your client's dashboard and iii) calling |
@lbalmaceda I actually downgraded the version to 1.8.0 and it seems to be fine. |
Spent half the day until I found this issue. Setting custom scheme works well for me. |
Settings a custom scheme doesn't seem to work anymore... I get a blank page instead of the error and I'm not able to log in. |
@iX21Mobile I've just solved this issue myself. You have to set a custom scheme in 3 places:
If you use an old version of lock, you also need to add a data element to the intent-filter in the manifest: Note XXX can be literally anything - even XXX itself |
All this is already explained in the sdk library readme, in the lock library readme and in the android quickstarts introduction. If you run into any issues don't hesitate opening a new issue in the corresponding library repo so we can track it, or contact our amazing team at https://support.auth0.com. |
@wayneio adding- scheme must be low case string |
I have used the scheme as a lower case 'xxx' and it works fine but it throws me up a new error.
I cannot find any docs/discussions nor have any leads. Any help would be appreciated. |
If using web WebAuthProvider, we also need to include:
|
On the WebAuthProvider part if I add .withConnection("facebook") and my chrome browser logs into facebook for the first time, it works fine and redirects to my app but if my browser is already logged into facebook and I try authlogin, the browser does not redirect to the app, It tells Cannot GET/ android.
The text was updated successfully, but these errors were encountered: