-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Empty show more show less
-
Not Needed
Use Case
Currently if there's an issue with the mechanism, there will be a "TypeError: Cannot read property 'prepare' of undefined" thrown. We should catch and create a more useful error.
GH PR
Issue encountered with mongoose
Dependencies
- none
Unknowns
- none
Acceptance Criteria
Implementation Requirements
- create and pass an error to the callback when there's no auth provider found for the specified mechanism.
Testing Requirements
- none
Documentation Requirements
- none
Follow Up Requirements
- none