How to change the sms verification template in firebase phone auth

前端 未结 4 1140
忘掉有多难
忘掉有多难 2020-11-28 11:11

in console firebase, in the menu Authentification -> Templates

There is a sms verification template :

%LOGIN_CODE% is your verification code.
         


        
4条回答
  •  生来不讨喜
    2020-11-28 11:24

    Meanwhile you cannot change the content of the message, you can change the app's URL mentioned in the SMS.

    1. Go to Authentication > Sign-in Method > Authorized domains and add your own domain website.tld

    2. Now edit the Firebase config object (in your source code) and update the authDomain key to the domain you linked earlier.

    Send a new test message, you're good to go.

提交回复
热议问题