# Library doesn't seem to set up intent-filter

**URL:** <https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305>\
**Category:** Get Help\
**Tags:** android\
**Created:** [May 20, 2020, 10:41am UTC](https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305 "2020-05-20T10:41:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilad-levl](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gilad-levl/32/21399_2.png) [@gilad-levl](https://community.auth0.com/u/gilad-levl)\
**Post date:** [May 20, 2020, 10:41am UTC](https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305/1 "2020-05-20T10:41:18Z")

</div>

Hey,

I’ve set up auth0 according to this guide:

> **[​Add Auth0 to Gradle - Auth0.Android - Auth0 Docs](https://auth0.com/docs/libraries/auth0-android#add-auth0-to-gradle)**
>
> Developers | Learn how to install, initialize, and use Auth0.Android

But it looks like the app doesn’t catch the receive the URL access.  
(a webview is opened, I login, and then I get an error that the page “…domain-name…/callback?code=…” could not be found)

The URL seems correct and contains the correct package name and sub domain.

I’ve tried both using the suggested `manifestPlaceholders` approach, and the manual intent-filter, and it doesn’t seem to work.

EDIT: It looks like that the problem is caused by `WebAuthProvider` using the in-app browser.  
If I force the link to open externally, the app can catch it, but it prompts the user to choose an app.  
Is there a way to smooth this out?

---

<div class="post-metadata">

**Author:** ![gilad-levl](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gilad-levl/32/21399_2.png) [@gilad-levl](https://community.auth0.com/u/gilad-levl)\
**Post date:** [May 20, 2020, 11:46am UTC](https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305/2 "2020-05-20T11:46:46Z")

</div>

I’ve resolved this by using “withScheme” with a custom scheme.  
It seems to bypass all of these issues.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 20, 2020, 11:57am UTC](https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305/3 "2020-05-20T11:57:30Z")

</div>

Perfect! Thanks for sharing that with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 4, 2020, 12:02pm UTC](https://community.auth0.com/t/library-doesnt-seem-to-set-up-intent-filter/43305/4 "2020-06-04T12:02:33Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
