V
V
Vitaly2014-07-21 01:54:24
Habr
Vitaly, 2014-07-21 01:54:24

Where did authorization through Google in TMID go?

Yesterday evening at home I logged in to Habré using a Google account, today from work I don’t see the Google icon at all in the list where is the authorization, what could it be?
PS checked in 2 browsers

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladlen Grachev, 2014-07-21
@vipuhoff

Authorization buttons code
<div class="sbuttons ">
          <a href="https://id.tmtm.ru/ajax/social/login/facebook/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="facebook" title="Войти с помощью Facebook"></a>
          <a href="https://id.tmtm.ru/ajax/social/login/vkontakte/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="vkontakte" title="Войти с помощью Вконтакте"></a>
          <a href="https://id.tmtm.ru/ajax/social/login/twitter/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="twitter" title="Войти с помощью Twitter"></a>
          <!--a href="https://id.tmtm.ru/ajax/social/login/google/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="google" title="Войти с помощью Google"></a-->
          <a href="https://id.tmtm.ru/ajax/social/login/github/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-date='{ code: "code", userid: "userid" }' data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="github" title="Войти с помощью Github"></a>
          <a href="https://id.tmtm.ru/ajax/social/login/liveid/?consumer=habrahabr&state=74e87b27a357753fc4a1504f5afbb73a" data-remote="true" data-method="post"
             data-post-consumer="habrahabr" data-post-state="74e87b27a357753fc4a1504f5afbb73a"
             class="liveid" title="Войти с помощью LiveID"></a>
          <a  href="#" class="google hidden" title="Войти с помощью Google"></a>
        </div>

As you can see, there are two authorizations through Google.
The first one, which follows the tweet, is commented out. Uncommenting allows you to see the button, but it still doesn't work.
The last button has a hidden class, which makes you think that something is wrong with it. But in fact, for me personally, it is displayed (last) and even works. In fact, this class is removed by the gInit() function, which is written at the very bottom of the page (the work of the authorization button is also initiated there). If your button is not visible, most likely the class is not deleted for some reason.
Look in the browser debug console, look for the reason why the function is not being called. Make sure googleapis.com and plus.google.com are available from work. I did not understand the operation of the system used, but it seems that the script from plus.google.com initiates the launch of gInit ().

A
Alexander N++, 2014-07-21
@sanchezzzhak

Everything is in place. Personally, it shows up for me.

V
Vitaliy, 2014-07-22
@vipuhoff

You are right:( The page is blocked by a proxy, so the button is not displayed) Thank you all for the answers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question