Home Forums Basel support forum Login with google not working

Login with google not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #65614

    techtronics
    Participant

    I followed the link https://xtemos.com/docs/basel/faq-guides/configure-google-login/ to create google login on my website.

    But at user end after entering all data it returns on same page without any error/login

    Attachments:
    You must be logged in to view attached files.
    #65620

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file

    add_filter( 'woodmart_alt_auth_method', '__return_true' );

    Kind Regards
    XTemos Studio

    #65689

    techtronics
    Participant

    No it’s not working after entering google account credential it’s again back to login page

    Attachments:
    You must be logged in to view attached files.
    #65691

    techtronics
    Participant

    Please get the wp-admin access and help me out to fix the same.

    #65701

    Artem Temos
    Keymaster

    Please, provide us your FTP access as well.

    #65702

    techtronics
    Participant

    Please get the details

    #65704

    Artem Temos
    Keymaster

    Try to change your URLs structure from default one https://gyazo.com/6c9b2b0f74ee3493bca1ce88ed41b4ac to pretty urls like website.com/my-account to make it work. You can do this in Settings -> Permalinks.

    #65708

    techtronics
    Participant

    Hello
    After change getting error
    Error: redirect_uri_mismatch

    The redirect URI in the request, https://www.gugglu.com/my-account/google/oauth2callback, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/936860379660-sdji911on9jv9dhfhlbv93q04aqka26b.apps.googleusercontent.com?project=936860379660

    Attachments:
    You must be logged in to view attached files.
    #65714

    techtronics
    Participant

    Hi,

    After updating Authorized redirect URIs on Google account now able to login with google.
    Have couple of queries:

    1-How to use this with permalink “Plain https://www.gugglu.com/?p=123” as I wanted to use it with previous permalink structure.
    2-If user login at checkout page then it get to him back on My account>Dashboard, in this case user have again go to cart and proceed to checkout. Instead of getting back checkout form should be field according to captured data and user have to fill additional required and make payment.
    3-Login with Google only capturing email id of user, how to capture additional details like User name & mobile number

    #65732

    Artem Temos
    Keymaster

    1. This function works with pretty URLs structure only.

    2. Unfortunately, we can’t change this behavior now. We will try to find some workaround in the future.

    3. It uses email only, there is no function to use other data.

Viewing 10 posts - 1 through 10 (of 10 total)