# How okta logout functionality works in xamarin forms?

**URL:** <https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300>\
**Category:** Questions\
**Created:** [June 5, 2019, 2:36pm UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300 "2019-06-05T14:36:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GIRI](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@GIRI](https://devforum.okta.com/u/GIRI)\
**Post date:** [June 5, 2019, 2:36pm UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300/1 "2019-06-05T14:36:27Z")

</div>

Hi  
I would like to perform logout operation using Okta in Xamarin forams.  
1.I tried calling API URLs way from the okta given in documentation in Postman giving appropriate fields  
but always giving 400,404 errors.-Did not work out  
2.Second I wanted to experiment with clearing cookies of WebView in mobile after we login in the device,  
using

> **[How To Clear WebView Cookies In Xamarin.Forms Using DependencyService](https://www.c-sharpcorner.com/article/how-to-clear-webview-cookies-in-xamarin-forms-using-dependencyservice/)**
>
> Sometimes, we may need to clear the cookies in our app, for example, integrated social media login. In that case, we need to clear the cookies, In this article, we can learn how to clear cookies using DependencyService concept in Xamarin.Forms.

  
but still the session remains not null and automatically logging into the app.

Can someone help me on this.

Thanks and Regards  
Giri.

---

<div class="post-metadata">

**Author:** ![nfritsche](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nfritsche](https://devforum.okta.com/u/nfritsche)\
**Post date:** [September 12, 2019, 8:54pm UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300/2 "2019-09-12T20:54:32Z")

</div>

Any update on this? I am having the same issues

---

<div class="post-metadata">

**Author:** ![tonidapogi](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tonidapogi](https://devforum.okta.com/u/tonidapogi)\
**Post date:** [October 29, 2019, 9:05am UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300/3 "2019-10-29T09:05:37Z")

</div>

I’m new with Okta and I encountered this problem too. Is there a solution now? Thanks!

---

<div class="post-metadata">

**Author:** ![Riyas](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Riyas](https://devforum.okta.com/u/Riyas)\
**Post date:** [March 10, 2020, 1:16pm UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300/4 "2020-03-10T13:16:58Z")

</div>

Is there any update/suggestions on this issue?

---

<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:** [January 23, 2024, 10:50pm UTC](https://devforum.okta.com/t/how-okta-logout-functionality-works-in-xamarin-forms/5300/5 "2024-01-23T22:50:09Z")

</div>


