Allow the friendly name of an existing MFA factor to be updated/amended #36657
Unanswered
SteveHawes
asked this question in
Feature Requests
Replies: 1 comment
-
I agree—it's also in the first step so there's no way to glean any helpful fingerprinting to really guess at a name at time of enrollment. I think this would be a welcome UX enhancement. |
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.
-
Currently, the friendly name of an MFA factor must be set when enrolling the factor and it cannot be changed once enrolled. This gives the problem that if a user is trying to enrol a TOTP factor, they will need to provide the friendly name before they see the QR code as this is only returned in the result of the enrolment call.
I would like to have an additional method that allows the application update or amend the friendly name by specifying the factorId and the new value for the friendly name. I am currently developing with the Flutter library so the code would be something like:
final AuthMFAUpdateResponse result = await supabase.auth.mfa.updateFactor(factorId: factorId, friendlyName: newValue);
The result could return the old value in case that is required by the developer.
Beta Was this translation helpful? Give feedback.
All reactions