Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

has anyone got a working example of google sign-in ? #173

Open
gordonisnz opened this issue Feb 27, 2020 · 0 comments
Open

has anyone got a working example of google sign-in ? #173

gordonisnz opened this issue Feb 27, 2020 · 0 comments

Comments

@gordonisnz
Copy link

gordonisnz commented Feb 27, 2020

https://developers.google.com/identity/sign-in/web/sign-in

The Google sign-in documentation needs to be improved.

the video (top right) mentions a sample code of a (presumably) WORKING script. i cant find this sample code - only lines of "bits" of code - but not a full working script.

When i follow the examples & add my lines I'm getting lots of errors (I start from scratch again & get new problems)

a) i can log ina gain - but the log-out doesnt work
b) i can log in ONE time, log out - but if i log in again - it brings up a google pop-up box (with my email addresses) - but this pop-up box is BLANK, with no addresses. it dissapears/closes after 1 second.
c) when i ORIGINALLY got it to work, the BUTTON said that i was logged-in, but i had to manually refresh the screen so my test website could read the cookies.

https://developers.google.com/identity/sign-in/web/sign-in

d) your above page doesn't show anything about setting cookies - or sending information to a (PHP) script..

Please can someone advise a URL of a full working example but with MINIMAL html code (your usual help pages have 100's of lines of CSS / javascript code to make the pages look nice, but have nothing to do with the code/examples you are trying to explain. )

EDIT: I'm trying to add google sign-in to http://foe.kwister.com/members/#

Right now if i click sign-in, it brings up a box & it dissapears (<< EDITED WORD) without me selecting an email address. I havnt been able to log out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant