# \[Android\]Is there a way to authenticate with WebView instead of a Chrome custom tab?

**URL:** <https://devforum.okta.com/t/android-is-there-a-way-to-authenticate-with-webview-instead-of-a-chrome-custom-tab/18680>\
**Category:** Questions\
**Created:** [December 28, 2021, 1:29am UTC](https://devforum.okta.com/t/android-is-there-a-way-to-authenticate-with-webview-instead-of-a-chrome-custom-tab/18680 "2021-12-28T01:29:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daiki](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@Daiki](https://devforum.okta.com/u/Daiki)\
**Post date:** [December 28, 2021, 1:29am UTC](https://devforum.okta.com/t/android-is-there-a-way-to-authenticate-with-webview-instead-of-a-chrome-custom-tab/18680/1 "2021-12-28T01:29:31Z")

</div>

Hey,

I used the OKtaSDK([GitHub - okta/okta-oidc-android: OIDC SDK for Android](https://github.com/okta/okta-oidc-android)) to implement the authentication process in Android.

Successfully authenticate in Chrome custom tab according to README. However, authentication in push using the Okta Verify app ([https://play.google.com/store/apps/details?id=com.okta.android.auth&hl=ja&gl=US](https://play.google.com/store/apps/details?id=com.okta.android.auth&hl=ja&gl=US)) does not succeed.  
In the log, the process returns cancel from the registered callback.  
If the Verify app is not started and the custom tab is alive, onSuccess/onError is returned.

Question:

1. How can I link my credentials to the Verify app in Okta-oidc-android?
2. If question 1 doesn’t work, I will use WebView to display the authentication screen. In that case, what is the best way to get the information after authentication?

Sorry about the end of the year, but I appreciate your help.  
Sincerely.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 9:08pm UTC](https://devforum.okta.com/t/android-is-there-a-way-to-authenticate-with-webview-instead-of-a-chrome-custom-tab/18680/2 "2024-02-08T21:08:57Z")

</div>

Closed on February 8, 2024, 9:08pm UTC


