-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Labels
feature requestA feature has been asked for or suggested by the communityA feature has been asked for or suggested by the community
Description
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
The login request in AuthRequest.execute returns a
TokenHolderon successful login request. If MFA is required, it throws a genericAPIExceptionand I need to manually get the values for the MFA results from a String Map
Describe the ideal solution
A custom exception that has the MFA token as a well defined variable
Alternatives and current work-arounds
What I do right now is exception.getValue("mfa_token").toString() which is quite clunky.
Additional context
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestA feature has been asked for or suggested by the communityA feature has been asked for or suggested by the community