Search Unity

Google Sign In WEBGL

Discussion in 'Web' started by aodonn, Sep 5, 2019.

  1. aodonn

    aodonn

    Joined:
    Aug 20, 2015
    Posts:
    6
    I can't seem to find anything online about having Google sign in with WebGL builds, so I'm wondering if it's possible and if somebody could please point me in the right direction. The only thing I can find on this is Google sign in for IOS/Android.

    Thanks for any/all help!
     
  2. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
  3. aodonn

    aodonn

    Joined:
    Aug 20, 2015
    Posts:
    6
  4. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
  5. moment_um

    moment_um

    Joined:
    Jan 1, 2016
    Posts:
    3
    I have tried this, and Can't get it to work. Essentially I cant get the access token back to my actual code. The button has a call on-success, but that callback requires the function to live on the outside application. Any js you put in the jslib lives inside of the unity application, so you can't access it like that.
     
  6. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
    You can use .jspre file, which is like embedding .js file on the page
     
  7. maxidepetris

    maxidepetris

    Joined:
    Feb 9, 2019
    Posts:
    2
    Hi all!!
    can someone make a guide on how to achieve this? Thanks a lot
     
  8. josenajarqs

    josenajarqs

    Joined:
    Jan 27, 2021
    Posts:
    22
    Hi! i have the same problem here, how to solve?
     
  9. Tom42_59

    Tom42_59

    Joined:
    Dec 16, 2019
    Posts:
    11
    Same here
     
  10. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    547
    You can use my new plugin for Google Sign In!
     
    leobilck likes this.