“immediate_failed” - Could not automatially log in the user

前端 未结 5 1038
[愿得一人]
[愿得一人] 2020-12-11 02:25

I have a problem when I developed my website with Google+ sign-in: I did step by step that the doc told me but I always failed at step4: https://developers.google.com/+/web/

5条回答
  •  长情又很酷
    2020-12-11 02:39

    Change this setting "immediate: true", to be false " immediate: false". But if you like to make more complex implementation look at the first sample here https://developers.google.com/api-client-library/javascript/start/start-js. You have to calls to Google's "gapi.auth.authorize({...", the first one with "immediate: true", and the second one with "immediate: false".

提交回复
热议问题