• Resolved dragansk

    (@dragansk)


    I am using your plugin on my website.

    Everything working fine on desktop and mobile.

    When i open my login page thought Instagram application the google login button does not appear. I am using this short code:

    [nextend_social_login provider=”facebook” align=”center”]

    [nextend_social_login provider=”google” align=”center”]

    Facebook login button is appears

    Google login button does not appear

    What is the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Robert

    (@robertnextendweb)

    Hi @dragansk!

    Thanks for contacting us!

    I’m sorry, but in WebView browsers we hide the Google button on purpose, as Google doesn’t allow using their OAuth endpoints over WebView, since according to them that is not secure ( https://auth0.com/blog/google-blocks-oauth-requests-from-embedded-browsers/ ).

    This means whenever a user tries to connect with Google while they are browsing over WebView, they would only see an error message that states this problem. So because it cannot work, we are hiding the Google button on WebView browsers by default. However, since Nextend Social Login 3.1.12, we have a new option – Unsupported WebView Behavior:
    https://nextendweb.com/nextend-social-login-docs/global-settings/#unsupported-webview-behavior
    With this option you can either remove the buttons (default behavior), or you can disable them (in this case the buttons will still show up, but will be grayed out), and if the user still clicks on the button it will show an error notice stating this limitation.

    If you have any questions, let me know!

    even thought facebook application the google login button does not appear.

    Plugin Support Laszlo

    (@laszloszalvak)

    Hi @baselahmad

    The problem is that same that Robert described above, since if you open links in the Facebook mobile app, that also opens them in an embedded browser ( WebView ), where Google won’t allow the usage of its OAuth endpoints, thus we have to remove the Google buttons there. As Robert mentioned, with the “Unsupported WebView Behavior” setting you can make the buttons appear but with a disabled state, so that would inform your visitors about that, they need to open the website in a normal browser in order to use the selected button.

    It is also important to mention that Facebook has the same limitation for Android WebView, so there you won’t see the Facebook nor the Google buttons. Here you can learn more about this:

    Best regards,
    Laszlo.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.