@@ -1074,6 +1074,14 @@ ui.start('#firebaseui-auth-container', {
1074
1074
// Additional state showPromo=1234 can be retrieved from URL on
1075
1075
// sign-in completion in signInSuccess callback by checking
1076
1076
// window.location.href.
1077
+ // If you are using a fragment in the URL, additional FirebaseUI
1078
+ // parameters will be appended to the query string component instead
1079
+ // of the fragment.
1080
+ // So for a url: https://www.example.com/#/signin
1081
+ // The completion URL will take the form:
1082
+ // https://www.example.com/?uid_sid=xyz&ui_sd=0#/signin
1083
+ // This should be taken into account when using frameworks with "hash
1084
+ // routing".
1077
1085
url: ' https://www.example.com/completeSignIn?showPromo=1234' ,
1078
1086
// Custom FDL domain.
1079
1087
dynamicLinkDomain: ' example.page.link' ,
@@ -1117,6 +1125,12 @@ if (firebase.auth().isSignInWithEmailLink(window.location.href)) {
1117
1125
Additional state passed in the <code >url</code > can be retrieved on sign-in
1118
1126
completion via the signInSuccess callbacks.
1119
1127
1128
+ If you are using a fragment in the URL, additional FirebaseUI parameters will be
1129
+ appended to the query string component instead of the fragment.
1130
+ So for a url ` https://www.example.com/#/signin ` , the completion URL will take
1131
+ the form ` https://www.example.com/?uid_sid=xyz&ui_sd=0#/signin ` .
1132
+ This should be taken into account when using frameworks with "hash routing".
1133
+
1120
1134
``` javascript
1121
1135
// ...
1122
1136
signInSuccessWithAuthResult : function (authResult , redirectUrl ) {
0 commit comments