# "App Name" Wants to Use "auth0.com" to Sign In - how to eliminate this prompt in Expo / React Native on iOS?

**URL:** <https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [August 10, 2023, 9:40pm UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413 "2023-08-10T21:40:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkasper](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rkasper](https://community.auth0.com/u/rkasper)\
**Post date:** [August 10, 2023, 9:40pm UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413/1 "2023-08-10T21:40:53Z")

</div>

Hi!

We’re building our app using Expo and React Native. We are using the React Native SDK, as documented in the Expo guide [Auth0 Expo SDK Quickstarts: Login](https://auth0.com/docs/quickstart/native/react-native-expo/00-login). The instructions totally work - login/logout works on both iOS and Android, in simulator/emulator and on real hardware.

On iOS, both on the simulator and on real hardware, when we login or logout, the OS prompts us with a pop-up:

“AppName” Wants to Use  
“[auth0.com](http://auth0.com)” to Sign In  
Cancel Continue

How do we make it _not_ issue that prompt?

---

<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:** [August 11, 2023, 12:10am UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413/3 "2023-08-11T00:10:29Z")

</div>

Hey there @rkasper !

Great to hear login/logout is working as epxected - Please see the following FAQ regarding the alert:

> <https://github.com/auth0/react-native-auth0/blob/master/FAQ.md#2-how-can-i-disable-the-ios-login-alert-box>

That should do the trick 🙂

Cheers!  
Ty

---

<div class="post-metadata">

**Author:** ![rkasper](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rkasper](https://community.auth0.com/u/rkasper)\
**Post date:** [August 11, 2023, 1:13am UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413/4 "2023-08-11T01:13:21Z")

</div>

W00t! @ty.frith , that’s it! Thank you _so so_ much!

And for anyone else watching, the implied code for “Just clearing the credentials from the app will suffice.” is:

` await clearCredentials();`

My full logout function is:

```auto
  const logout = async () => {
    if (Platform.OS === "ios") {
      await clearCredentials();
    } else {
      try {
        await clearSession({
          customScheme: process.env.EXPO_PUBLIC_AUTH0_SCHEME,
        });
      } catch (e) {
        console.log("Log out cancelled", e);
      }
    }
  };

```

---

<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:** [August 12, 2023, 12:10am UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413/5 "2023-08-12T00:10:47Z")

</div>

Hey @rkasper no problem, happy to help! Glad you were able to get this sorted and thanks for sharing your logout funciton 🤠

---

<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:** [August 26, 2023, 12:10am UTC](https://community.auth0.com/t/app-name-wants-to-use-auth0-com-to-sign-in-how-to-eliminate-this-prompt-in-expo-react-native-on-ios/113413/6 "2023-08-26T00:10:56Z")

</div>

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