passageidentity / passage-node

Passkey Complete for Node.js - Integrate into your Node.js API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
http://docs.passage.id/complete
MIT License
23 stars 7 forks source link

PSG-4065: fix PassageError error messages #161

Closed ctran88 closed 1 month ago

ctran88 commented 1 month ago

Fixes the message mapping and stringified value of PassageError.

Before:

Could not create a magic link for this app.: Response returned an error code

After:

PassageError: Could not create a magic link for this app: Invalid access token
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud