# \[Android\] Cookies are not cleared on logout

**URL:** <https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757>\
**Category:** Get Help\
**Tags:** sessions, logout\
**Created:** [December 6, 2022, 5:00am UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757 "2022-12-06T05:00:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iurii.rodyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/iurii.rodyk/32/41745_2.png) [@iurii.rodyk](https://community.auth0.com/u/iurii.rodyk)\
**Post date:** [December 6, 2022, 5:00am UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757/1 "2022-12-06T05:00:38Z")

</div>

Hi Community!  
We’re using Auth0 sdk for Android version 2.6.0 and on logout we’re not able to clear cookies. We’re using federated auth and custom tenant if it matters.  
Redirect URL on `logout()` doesn’t do anything either, federated parameter same. Scheme is the same custom scheme as for login. All works well, but cookies are still no matter what and the user doesn’t start from the very first login page upon next login in the app.  
Chrome Custom Tab cookies are not visible for the Cookie Manager, so I’m guessing only Auth0 SDK can get it done.

---

<div class="post-metadata">

**Author:** ![Ferneside](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ferneside/32/33806_2.png) [@Ferneside](https://community.auth0.com/u/Ferneside)\
**Post date:** [December 6, 2022, 8:37am UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757/2 "2022-12-06T08:37:55Z")

</div>

What are you talking about that was happening with me also Still can’t find any solution[.](https://www.tellculvers.org/)

---

<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:** [December 6, 2022, 11:10am UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757/3 "2022-12-06T11:10:36Z")

</div>

Hey there!

In order to handle that most effectively can I ask you to raise a GitHub issue in our Android SDK GitHub repo so we can work on that directly with the stack maintainers? Once you have a link to it you can share it here so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![iurii.rodyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/iurii.rodyk/32/41745_2.png) [@iurii.rodyk](https://community.auth0.com/u/iurii.rodyk)\
**Post date:** [December 6, 2022, 9:37pm UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757/4 "2022-12-06T21:37:47Z")

</div>

> [@iurii.rodyk](#):
>
> Hi Community!  
> We’re using Auth0 sdk for Android version 2.6.0 and on logout we’re not able to clear cookies. We’re using federated auth and custom tenant if it matters.  
> Redirect URL on `logout()` doesn’t do anything either, federated parameter same. Scheme is the same custom scheme as for login. All works well, but cookies are still no matter what and the user doesn’t start from the very first login page upon next login in the app.  
> Chrome Custom Tab cookies are not visible for the Cookie Manager, so I’m guessing only Auth0 SDK can get it done.

Hi Konrad. Posted on github [Browser cookies are not cleared on logout() · Issue #624 · auth0/Auth0.Android · GitHub](https://github.com/auth0/Auth0.Android/issues/624)

---

<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:** [December 11, 2024, 9:16pm UTC](https://community.auth0.com/t/android-cookies-are-not-cleared-on-logout/95757/6 "2024-12-11T21:16:26Z")

</div>

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