Success! Google Oauth2 for Corona and Lua

Check in the post up above that starts:

I believe the code is in the last line- it looks like there was a formatting issue that took out all the line breaks from his original post, so the code is now all in one very long line. (This forum was migrated from a different server, and some of the older posts got a bit messed up.)

Hi there! Weā€™re 8 years later now, so I would be surprised if any of this code still worksā€¦ I do remember Google significantly overhauling their Oauth processes and API a couple of years ago, so donā€™t expect this code to work right off the bat.

Hi there,
I want to have the google sign_in function for my app and I found the message of plugin : Since Google currently disallows signing in though web views, this plugin allows you to sign in using the Google SDK.
Is there any example for sign in using the Google SDK?
Please help, thanks!

Hi Vincent, Iā€™m afraid I canā€™t help you out with that - itā€™s been years since I coded in this areaā€¦ I think your best shot is diving into the Google SDK and seeing how you need to communicate with it - surely they will allow HTTP requests. Best of luck, sorry I canā€™t be of more help. I remember my work was really going through Googleā€™s API or SDK step by step, making a HTTP or other request, and seeing what the response was, then taking it further once I understood what was going on.

Cheers,
Thomas

1 Like

Thanks for your quick reply.
All the Best!