Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deviceCredentialFallback is marked as optional but throws exception if missing with Expo on Android #980

Open
6 tasks done
Knifa opened this issue Sep 30, 2024 · 0 comments
Labels
bug This points to a verified bug in the code

Comments

@Knifa
Copy link

Knifa commented Sep 30, 2024

Checklist

Description

As title says, deviceCredentialFallback is marked as optional but throws exception if missing with Expo on Android. I've no idea if the same symptom is present on other frameworks/platforms.

title seems to be the only requirement with everything else being sane defaults going by the documentation.

image

Reproduction

Bump Expo sample app to 4.0.0-beta.0 and update App.js to look like:

const App = () => {
  return (
    <Auth0Provider
      domain={config.domain}
      clientId={config.clientId}
      localAuthenticationOptions={{
        title: 'Prove yourself!'
      }}
    >
      <Home />
    </Auth0Provider>
  );
};

If you add deviceCredentialFallback: false, in there, then everything is fine.

Additional context

No response

react-native-auth0 version

4.0.0-beta.0

React Native version

0.71.14

Expo version

48.0.21

Platform

Android

Platform version(s)

14

@Knifa Knifa added the bug This points to a verified bug in the code label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant