Skip to content

Conversation

@olajhidey
Copy link
Collaborator

This pull request is for a guide that shows how to use signalwire 2fa api in NodeJs
Currently the SMS feature isn't working perfectly but there is a ticket with the engineering team https://github.com/signalwire/cloud-support/issues/1925

Copy link
Contributor

@danieleds danieleds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I added a few minor comments.

For consistency's sake, could you also:

  • change the folder name from multi-factor-authentication to Multi-Factor-Authentication
  • add an overview README.md inside the "PhoneNumbers" directory with a link to your example (see the one for Fax as an example: https://github.com/signalwire/guides/tree/main/Fax)

@@ -0,0 +1,5 @@
PROJECT_ID=<project-id>
API_TOKEN=<api-token>
SPACE_NAME=<space-name>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency we usually use SPACE_URL instead of SPACE_NAME, could you update this?

Also for consistency, the SPACE_URL usually contains the full url, for example daniele.signalwire.com instead of just daniele.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made changes to the SPACE_NAME to SPACE_URL

Comment on lines 3 to 4
This guide will use the Express Framework to create a simple web application that uses the SignalWire MFA API to authenticate a user via sms or voice call.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there already a guide in the developer portal?
If so, you could add a "📖 Read the full guide" link, see here for an example:
https://github.com/signalwire/guides/blob/main/Video/Simple%20Video%20Demo/README.md

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the pre-draft url from readme

Comment on lines 12 to 13
"@signalwire/js": "^3.10.2",
"@signalwire/node": "^2.4.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these packages used? Could they be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unwanted packages in the package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants