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

Be able to Set/Remove LocalAuthentication. #465

Open
5 tasks done
MauriMiguez opened this issue Jun 19, 2024 · 0 comments
Open
5 tasks done

Be able to Set/Remove LocalAuthentication. #465

MauriMiguez opened this issue Jun 19, 2024 · 0 comments
Labels
feature request A feature has been asked for or suggested by the community

Comments

@MauriMiguez
Copy link

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

In the particular App im working on, we would like to be able to toggle on or off LocalAuthentication based on user preference. Right now I don't see a way to either remove or add LocalAuthentication from an Auth0 or CredentialsManager already created instances.

To be more specific: if you already instantiated Auth0 without LocalAuthentication there is no way you can add it now.

Describe the ideal solution

I would for the API to expose a method to be able to add/remove local authentication.

Alternatives and current workarounds

The only work around I can think of is to make another instance of Auth0 in which CredentialsManager will be injected with the new LocalAuthentication.

Additional context

Currently I create the Auth0 instance during the initialization of the app and after that is injected into the corresponding classes that need that instance. So is at that point that I decide to either add local biometrics or not add it.

If user decides that now it wants to add it I would have to re-instantiate the object and inject it again which is troublesome.

@MauriMiguez MauriMiguez added the feature request A feature has been asked for or suggested by the community label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

1 participant