Be able to Set/Remove LocalAuthentication. #597
MauriMiguez
started this conversation in
General
Replies: 2 comments
-
|
Hi @MauriMiguez, thanks for raising this. Implementing this would require changes in the underlying SDKs (Auth0.Android and Auth0.swift). We don't have any plans for this feature in the short term, but I'll leave this issue open for future planning and reference. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
As we don't plan to support this in our immediate roadmap, we would love to hear the community opinion and different use cases for this request, so that we can efficiently plan to add this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
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.
Beta Was this translation helpful? Give feedback.
All reactions