Recaptcha Visually Broken on Firebase Phone Auth App in the Browser












0














I really like Firebase phone authentication. I wrote a project in February 2017 using



<script src="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.css" />


Pretty good results:



Recaptcha Screen Print Firebase UI v2.3.0



I'm trying to create a new similar product. Thought I'd go ahead and use the latest releases for Firebase Auth stuff. firebaseui.js and .css version 3.4.1 Unfortunately the new Recaptcha totally kills the project.



Recaptcha Firebase UI v3.4.1 num 1



...and here is phase two. You can't navigate too far off screen. This is unusable in current form.



Recaptcha Firebase UI v3.4.1 num 2



I'm looking closely at the iframe stuff, including all pertinent CSS settings. At first glance nothing seems amiss, but the new stuff looks terrible and is totally non functional.



Its not clear exactly which version of recaptcha is involved for each UI version. For the simple check the box initial area, the old 2.3.0 version uses an iframe that starts: https://www.google.com/recaptcha/api2/anchor?ar=2&amp;k=... . The newer, unreadable version (from firebaseui 3.4.1) uses an iframe that starts https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=...



I've now been testing so long, that I'm getting a ReCaptcha error, sigh.




Your computer or network may be sending automated queries. To protect
our users, we can't process your request right now. For more details
visit our help page
link




This website is only intended for use via mobile phone. With the existing state, no user will understand that they have to click in the box to get to the next reCaptcha phase...



Any workarounds for cleaning this up? From what I can tell, if you use phone authentication with Firebase Auth, you MUST use reCaptcha.



How can I clean up phase one recaptcha, "Check the box". How can I clean up phase two recaptcha "Select the square with the crosswalk / bus / orange aligators" .



(For that phase, I'm dying to try...)



@media (max-width:320px) {
.firebaseui-recaptcha-container>div>div {
transform: scale(.7);
-webkit-transform: scale(.7);
transform-origin: 0 0;
-webkit-transform-origin: 0 0
}
}









share|improve this question



























    0














    I really like Firebase phone authentication. I wrote a project in February 2017 using



    <script src="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.js"></script>
    <link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.css" />


    Pretty good results:



    Recaptcha Screen Print Firebase UI v2.3.0



    I'm trying to create a new similar product. Thought I'd go ahead and use the latest releases for Firebase Auth stuff. firebaseui.js and .css version 3.4.1 Unfortunately the new Recaptcha totally kills the project.



    Recaptcha Firebase UI v3.4.1 num 1



    ...and here is phase two. You can't navigate too far off screen. This is unusable in current form.



    Recaptcha Firebase UI v3.4.1 num 2



    I'm looking closely at the iframe stuff, including all pertinent CSS settings. At first glance nothing seems amiss, but the new stuff looks terrible and is totally non functional.



    Its not clear exactly which version of recaptcha is involved for each UI version. For the simple check the box initial area, the old 2.3.0 version uses an iframe that starts: https://www.google.com/recaptcha/api2/anchor?ar=2&amp;k=... . The newer, unreadable version (from firebaseui 3.4.1) uses an iframe that starts https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=...



    I've now been testing so long, that I'm getting a ReCaptcha error, sigh.




    Your computer or network may be sending automated queries. To protect
    our users, we can't process your request right now. For more details
    visit our help page
    link




    This website is only intended for use via mobile phone. With the existing state, no user will understand that they have to click in the box to get to the next reCaptcha phase...



    Any workarounds for cleaning this up? From what I can tell, if you use phone authentication with Firebase Auth, you MUST use reCaptcha.



    How can I clean up phase one recaptcha, "Check the box". How can I clean up phase two recaptcha "Select the square with the crosswalk / bus / orange aligators" .



    (For that phase, I'm dying to try...)



    @media (max-width:320px) {
    .firebaseui-recaptcha-container>div>div {
    transform: scale(.7);
    -webkit-transform: scale(.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0
    }
    }









    share|improve this question

























      0












      0








      0







      I really like Firebase phone authentication. I wrote a project in February 2017 using



      <script src="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.js"></script>
      <link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.css" />


      Pretty good results:



      Recaptcha Screen Print Firebase UI v2.3.0



      I'm trying to create a new similar product. Thought I'd go ahead and use the latest releases for Firebase Auth stuff. firebaseui.js and .css version 3.4.1 Unfortunately the new Recaptcha totally kills the project.



      Recaptcha Firebase UI v3.4.1 num 1



      ...and here is phase two. You can't navigate too far off screen. This is unusable in current form.



      Recaptcha Firebase UI v3.4.1 num 2



      I'm looking closely at the iframe stuff, including all pertinent CSS settings. At first glance nothing seems amiss, but the new stuff looks terrible and is totally non functional.



      Its not clear exactly which version of recaptcha is involved for each UI version. For the simple check the box initial area, the old 2.3.0 version uses an iframe that starts: https://www.google.com/recaptcha/api2/anchor?ar=2&amp;k=... . The newer, unreadable version (from firebaseui 3.4.1) uses an iframe that starts https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=...



      I've now been testing so long, that I'm getting a ReCaptcha error, sigh.




      Your computer or network may be sending automated queries. To protect
      our users, we can't process your request right now. For more details
      visit our help page
      link




      This website is only intended for use via mobile phone. With the existing state, no user will understand that they have to click in the box to get to the next reCaptcha phase...



      Any workarounds for cleaning this up? From what I can tell, if you use phone authentication with Firebase Auth, you MUST use reCaptcha.



      How can I clean up phase one recaptcha, "Check the box". How can I clean up phase two recaptcha "Select the square with the crosswalk / bus / orange aligators" .



      (For that phase, I'm dying to try...)



      @media (max-width:320px) {
      .firebaseui-recaptcha-container>div>div {
      transform: scale(.7);
      -webkit-transform: scale(.7);
      transform-origin: 0 0;
      -webkit-transform-origin: 0 0
      }
      }









      share|improve this question













      I really like Firebase phone authentication. I wrote a project in February 2017 using



      <script src="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.js"></script>
      <link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.3.0/firebaseui.css" />


      Pretty good results:



      Recaptcha Screen Print Firebase UI v2.3.0



      I'm trying to create a new similar product. Thought I'd go ahead and use the latest releases for Firebase Auth stuff. firebaseui.js and .css version 3.4.1 Unfortunately the new Recaptcha totally kills the project.



      Recaptcha Firebase UI v3.4.1 num 1



      ...and here is phase two. You can't navigate too far off screen. This is unusable in current form.



      Recaptcha Firebase UI v3.4.1 num 2



      I'm looking closely at the iframe stuff, including all pertinent CSS settings. At first glance nothing seems amiss, but the new stuff looks terrible and is totally non functional.



      Its not clear exactly which version of recaptcha is involved for each UI version. For the simple check the box initial area, the old 2.3.0 version uses an iframe that starts: https://www.google.com/recaptcha/api2/anchor?ar=2&amp;k=... . The newer, unreadable version (from firebaseui 3.4.1) uses an iframe that starts https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=...



      I've now been testing so long, that I'm getting a ReCaptcha error, sigh.




      Your computer or network may be sending automated queries. To protect
      our users, we can't process your request right now. For more details
      visit our help page
      link




      This website is only intended for use via mobile phone. With the existing state, no user will understand that they have to click in the box to get to the next reCaptcha phase...



      Any workarounds for cleaning this up? From what I can tell, if you use phone authentication with Firebase Auth, you MUST use reCaptcha.



      How can I clean up phase one recaptcha, "Check the box". How can I clean up phase two recaptcha "Select the square with the crosswalk / bus / orange aligators" .



      (For that phase, I'm dying to try...)



      @media (max-width:320px) {
      .firebaseui-recaptcha-container>div>div {
      transform: scale(.7);
      -webkit-transform: scale(.7);
      transform-origin: 0 0;
      -webkit-transform-origin: 0 0
      }
      }






      firebase browser firebase-authentication recaptcha recaptcha-v3






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 '18 at 9:21









      zipzit

      1,96731536




      1,96731536
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Ouch, Ouch...



          So I'm still playing around with this... The work done above was using Chrome with the developer tools (Right Click --> Inspect), then selecting mobile devices for display. The images are screen prints from my laptop.



          I thought I'd give this another attempt, this time using real mobile phone using my local home network. Node server running on laptop local host, port 8000. Phone linked in via the laptop's local ip address (e.g. 192.168.1.19:8000)



          Wow. The display is totally normal and readable as intended on my phone. Now I can't directly troubleshoot my client code / javascript stuff there, but I can certainly make this work. The recaptcha display looks fine in full screen mode. I can troubleshoot code on the laptop, verify on mobile phone. It's not clear if this is a modification of CSS somewhere, or a disconnect in the chrome dev tools rendering?



          Normally I'd just delete this entire question, but I suspect perhaps someone else could hit this silly dilemma. I've just wasted three hours of my life, I'll never get back.



          The answer here is, what you see in your dev tools browser (in mobile device display mode) may not reflect what you see on an actual mobile device. Check both before wasting time.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259099%2frecaptcha-visually-broken-on-firebase-phone-auth-app-in-the-browser%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Ouch, Ouch...



            So I'm still playing around with this... The work done above was using Chrome with the developer tools (Right Click --> Inspect), then selecting mobile devices for display. The images are screen prints from my laptop.



            I thought I'd give this another attempt, this time using real mobile phone using my local home network. Node server running on laptop local host, port 8000. Phone linked in via the laptop's local ip address (e.g. 192.168.1.19:8000)



            Wow. The display is totally normal and readable as intended on my phone. Now I can't directly troubleshoot my client code / javascript stuff there, but I can certainly make this work. The recaptcha display looks fine in full screen mode. I can troubleshoot code on the laptop, verify on mobile phone. It's not clear if this is a modification of CSS somewhere, or a disconnect in the chrome dev tools rendering?



            Normally I'd just delete this entire question, but I suspect perhaps someone else could hit this silly dilemma. I've just wasted three hours of my life, I'll never get back.



            The answer here is, what you see in your dev tools browser (in mobile device display mode) may not reflect what you see on an actual mobile device. Check both before wasting time.






            share|improve this answer


























              0














              Ouch, Ouch...



              So I'm still playing around with this... The work done above was using Chrome with the developer tools (Right Click --> Inspect), then selecting mobile devices for display. The images are screen prints from my laptop.



              I thought I'd give this another attempt, this time using real mobile phone using my local home network. Node server running on laptop local host, port 8000. Phone linked in via the laptop's local ip address (e.g. 192.168.1.19:8000)



              Wow. The display is totally normal and readable as intended on my phone. Now I can't directly troubleshoot my client code / javascript stuff there, but I can certainly make this work. The recaptcha display looks fine in full screen mode. I can troubleshoot code on the laptop, verify on mobile phone. It's not clear if this is a modification of CSS somewhere, or a disconnect in the chrome dev tools rendering?



              Normally I'd just delete this entire question, but I suspect perhaps someone else could hit this silly dilemma. I've just wasted three hours of my life, I'll never get back.



              The answer here is, what you see in your dev tools browser (in mobile device display mode) may not reflect what you see on an actual mobile device. Check both before wasting time.






              share|improve this answer
























                0












                0








                0






                Ouch, Ouch...



                So I'm still playing around with this... The work done above was using Chrome with the developer tools (Right Click --> Inspect), then selecting mobile devices for display. The images are screen prints from my laptop.



                I thought I'd give this another attempt, this time using real mobile phone using my local home network. Node server running on laptop local host, port 8000. Phone linked in via the laptop's local ip address (e.g. 192.168.1.19:8000)



                Wow. The display is totally normal and readable as intended on my phone. Now I can't directly troubleshoot my client code / javascript stuff there, but I can certainly make this work. The recaptcha display looks fine in full screen mode. I can troubleshoot code on the laptop, verify on mobile phone. It's not clear if this is a modification of CSS somewhere, or a disconnect in the chrome dev tools rendering?



                Normally I'd just delete this entire question, but I suspect perhaps someone else could hit this silly dilemma. I've just wasted three hours of my life, I'll never get back.



                The answer here is, what you see in your dev tools browser (in mobile device display mode) may not reflect what you see on an actual mobile device. Check both before wasting time.






                share|improve this answer












                Ouch, Ouch...



                So I'm still playing around with this... The work done above was using Chrome with the developer tools (Right Click --> Inspect), then selecting mobile devices for display. The images are screen prints from my laptop.



                I thought I'd give this another attempt, this time using real mobile phone using my local home network. Node server running on laptop local host, port 8000. Phone linked in via the laptop's local ip address (e.g. 192.168.1.19:8000)



                Wow. The display is totally normal and readable as intended on my phone. Now I can't directly troubleshoot my client code / javascript stuff there, but I can certainly make this work. The recaptcha display looks fine in full screen mode. I can troubleshoot code on the laptop, verify on mobile phone. It's not clear if this is a modification of CSS somewhere, or a disconnect in the chrome dev tools rendering?



                Normally I'd just delete this entire question, but I suspect perhaps someone else could hit this silly dilemma. I've just wasted three hours of my life, I'll never get back.



                The answer here is, what you see in your dev tools browser (in mobile device display mode) may not reflect what you see on an actual mobile device. Check both before wasting time.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 12 '18 at 9:45









                zipzit

                1,96731536




                1,96731536






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53259099%2frecaptcha-visually-broken-on-firebase-phone-auth-app-in-the-browser%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    Academy of Television Arts & Sciences

                    L'Équipe

                    1995 France bombings