# Auth0 Flutter promps to log in when logging out

**URL:** <https://community.auth0.com/t/auth0-flutter-promps-to-log-in-when-logging-out/107921>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [May 26, 2023, 7:13pm UTC](https://community.auth0.com/t/auth0-flutter-promps-to-log-in-when-logging-out/107921 "2023-05-26T19:13:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcarrington](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jcarrington/32/12903_2.png) [@jcarrington](https://community.auth0.com/u/jcarrington)\
**Post date:** [May 26, 2023, 7:13pm UTC](https://community.auth0.com/t/auth0-flutter-promps-to-log-in-when-logging-out/107921/1 "2023-05-26T19:13:11Z")

</div>

In my app, when a user logs in, it asks if they will consent to using Auth0 to log in. Thats fine and expected. However, when I call `await auth0.webAuthentication().logout()`, it ALSO asks them if they consent to using Auth0 to log in. Thats pretty weird and can’t be right, right? [Imgur: The magic of the Internet](https://imgur.com/a/6DM7RgP)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 26, 2023, 9:52pm UTC](https://community.auth0.com/t/auth0-flutter-promps-to-log-in-when-logging-out/107921/3 "2023-05-26T21:52:58Z")

</div>

Hey there @jcarrington!

> [@jcarrington](#):
>
> However, when I call `await auth0.webAuthentication().logout()`, it ALSO asks them if they consent to using Auth0 to log in. Thats pretty weird and can’t be right, right?

That’s unfortunately an expected behavior specific to iOS - Please see this [FAQ](https://github.com/auth0/auth0-flutter/blob/main/auth0_flutter/FAQ.md#2-how-can-i-disable-the-ios-login-alert-box) for more on this.

Cheers!

---

<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 9, 2023, 9:53pm UTC](https://community.auth0.com/t/auth0-flutter-promps-to-log-in-when-logging-out/107921/4 "2023-06-09T21:53:31Z")

</div>

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