You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- you can also delete the `users.authy_id` column if you choose
29
-
- Twilio Verify service sms will be sent to `users.mobile_phone`, so make sure you store the users 2fa phone number in this column, can make this field name dynamic in the future
30
-
- Do a project code wide search & replace of these terms
31
-
-`devise-authy` -> `devise-twilio-verify`
32
-
-`authy_` -> `twilio_verify_`
33
-
-`_authy` -> `_twilio_verify`
34
-
-`authy-` -> `twilio-verify-`
35
-
-`-authy` -> `-twilio-verify`
36
-
-`Authy` -> `TwilioVerify`
37
-
- Do a project file search & replace of any file with authy in the name (here's a few examples to replace)
This is a [Devise](https://github.com/heartcombo/devise) extension to add [Two-Factor Authentication with Twilio Verify](https://www.twilio.com/docs/verify) to your Rails application.
@@ -48,10 +7,9 @@ Please visit the Twilio Docs for more information:
*[Verify API reference](https://www.twilio.com/docs/verify/api)
51
-
52
-
10
+
*[Migrate Authy to Twilio Verify API](#migrate-authy-to-twilio-verify-api)
53
11
*[Pre-requisites](#pre-requisites)
54
-
*[Demo](#demo)
12
+
*[Demo (TODO)](#demo)
55
13
*[Getting started](#getting-started)
56
14
*[Configuring Models](#configuring-models)
57
15
*[With the generator](#with-the-generator)
@@ -246,7 +204,7 @@ This will display a QR code on the verification screen (you still need to take a
246
204
247
205
In Rails 5 `protect_from_forgery` is no longer prepended to the `before_action` chain. If you call `authenticate_user` before `protect_from_forgery` your request will result in a "Can't verify CSRF token authenticity" error.
248
206
249
-
To remedy this, add `prepend: true` to your `protect_from_forgery` call, like in this example from the [Twilio Verify Devise demo app](https://github.com/twilio/authy-devise-demo):
207
+
To remedy this, add `prepend: true` to your `protect_from_forgery` call
- you can also delete the `users.authy_id` column if you choose
252
+
- Twilio Verify service sms will be sent to `users.mobile_phone`, so make sure you store the users 2fa phone number in this column, can make this field name dynamic in the future
253
+
- Do a project code wide search & replace of these terms
254
+
-`devise-authy` -> `devise-twilio-verify`
255
+
-`authy_` -> `twilio_verify_`
256
+
-`_authy` -> `_twilio_verify`
257
+
-`authy-` -> `twilio-verify-`
258
+
-`-authy` -> `-twilio-verify`
259
+
-`Authy` -> `TwilioVerify`
260
+
- Do a project file search & replace of any file with authy in the name (here's a few examples to replace)
0 commit comments