-
Notifications
You must be signed in to change notification settings - Fork 478
Twilio Verify API #8189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Twilio Verify API #8189
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c3ff490
WIP
codyborn b36bdd6
WIP
codyborn a765afa
Completed but needs testing
codyborn d32ce9e
Update test_attestation
codyborn 987d01b
Update docs & hook up new env var for deployment templates
codyborn f915f78
Add step to guide & add DB migration file
codyborn 8e6915e
Add support for landlines
codyborn fb7395a
Fix typo
codyborn 46195e2
Fix to field
codyborn 149009e
Update instructions and add new Verify service SID to mnemonic file
codyborn 5ccec43
Separate security code from the prefixed version
codyborn d99b842
Missed file
codyborn af452eb
Set prefixedSecurityCode if empty
codyborn 033bcf6
Bump ver to 1.3.0
codyborn 5bfcbc5
Use single security code property
codyborn f095443
Remove values from .env.dev
codyborn e1b00b5
Make unique SID
codyborn 941729f
Separate DB for each AS
codyborn c9e26dc
Update guide with image
codyborn fb0cbfa
Merge w/ master
codyborn 42cac76
Add VerifySID for alfajores
codyborn abb9751
Merge w/ master
codyborn 08b9429
Undo any changes to .env.mnemonic.enc
codyborn e6aa32a
Merge branch 'master' into cody/TwilioVerify
codyborn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
packages/attestation-service/migrations/20210625231054-attestation-v7.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| 'use strict' | ||
| module.exports = { | ||
| up: async (queryInterface, Sequelize) => { | ||
| const transaction = await queryInterface.sequelize.transaction() | ||
|
|
||
| try { | ||
| await queryInterface.addColumn('Attestations', 'appSignature', { | ||
| type: Sequelize.STRING, | ||
| allowNull: true, | ||
| }) | ||
| await queryInterface.addColumn('Attestations', 'language', { | ||
| type: Sequelize.STRING, | ||
| allowNull: true, | ||
| }) | ||
|
|
||
| await transaction.commit() | ||
| } catch (error) { | ||
| await transaction.rollback() | ||
| throw error | ||
| } | ||
| }, | ||
| down: async (queryInterface, Sequelize) => { | ||
| const transaction = await queryInterface.sequelize.transaction() | ||
| try { | ||
| await queryInterface.removeColumn('Attestations', 'appSignature') | ||
| await queryInterface.removeColumn('Attestations', 'language') | ||
| } catch (error) { | ||
| await transaction.rollback() | ||
| throw error | ||
| } | ||
| }, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.