@@ -62,8 +62,8 @@ You just need to include the following script and CSS file in the `<head>` tag
62
62
of your page, below the initialization snippet from the Firebase Console:
63
63
64
64
``` html
65
- <script src =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.js" ></script >
66
- <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.css" />
65
+ <script src =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.js" ></script >
66
+ <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.css" />
67
67
```
68
68
69
69
#### Localized Widget
@@ -72,17 +72,17 @@ Localized versions of the widget are available through the CDN. To use a
72
72
localized widget, load the localized JS library instead of the default library:
73
73
74
74
``` html
75
- <script src =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth__{LANGUAGE_CODE}.js" ></script >
76
- <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.css" />
75
+ <script src =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth__{LANGUAGE_CODE}.js" ></script >
76
+ <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.css" />
77
77
```
78
78
79
79
where ` {LANGUAGE_CODE} ` is replaced by the code of the language you want. For example, the French
80
80
version of the library is available at
81
- ` https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth__fr.js ` . The list of available
81
+ ` https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth__fr.js ` . The list of available
82
82
languages and their respective language codes can be found at [ LANGUAGES.md] ( LANGUAGES.md ) .
83
83
84
84
Right-to-left languages also require the right-to-left version of the stylesheet, available at
85
- ` https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth-rtl.css ` , instead of the default
85
+ ` https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth-rtl.css ` , instead of the default
86
86
stylesheet. The supported right-to-left languages are Arabic (ar), Farsi (fa), and Hebrew (iw).
87
87
88
88
### Option 2: npm Module
@@ -199,8 +199,8 @@ for a more in-depth example, showcasing a Single Page Application mode.
199
199
* In addition, include the firebase-auth SDK:
200
200
* <script src="https://www.gstatic.com/firebasejs/[FIREBASE VERSION USED IN SNIPPET]/firebase-auth.js"></script> *
201
201
***************************************************************************************** -->
202
- <script src =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.js" ></script >
203
- <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.css" />
202
+ <script src =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.js" ></script >
203
+ <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.css" />
204
204
<script type =" text/javascript" >
205
205
// FirebaseUI config.
206
206
var uiConfig = {
@@ -1351,8 +1351,8 @@ FirebaseUI is displayed.
1351
1351
* TODO(DEVELOPER): Paste the initialization snippet from:
1352
1352
* Firebase Console > Overview > Add Firebase to your web app. *
1353
1353
***************************************************************************************** -->
1354
- <script src =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.js" ></script >
1355
- <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/4.8.1 /firebase-ui-auth.css" />
1354
+ <script src =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.js" ></script >
1355
+ <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/5.0.0 /firebase-ui-auth.css" />
1356
1356
<script type =" text/javascript" >
1357
1357
// FirebaseUI config.
1358
1358
var uiConfig = {
0 commit comments