Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Google OAuth and Get User Infoby WindyJMusic (Novice) |
on Jun 17, 2022 at 20:37 UTC ( [id://11144832]=perlquestion: print w/replies, xml ) | Need Help?? |
WindyJMusic has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I've edited this post because I left out key information that didn't help other monks give answers I was hoping for. I'm looking to make a CGI web app that requires users to log in with Google, and returns to my web app with the user's email address and name only. I've set up credentials with Google, so I have a client ID and secret key. But now I've been trying to find the right way to make my web app. There are SO many modules out there, and yet none of them show me how to pull the user's email address and name after I get an authorization key. I'm feeling like a complete noob and I hate it. Can someone recommend a module to me, or perhaps even point me to some sample code that I can tailor to meet my needs? I'm so frustrated trying to find this answer. Edit: Thanks to those who suggest Mojolicious or Dancer2, I'm hoping to stick with CGI. I have determined that what I need to do is get an Authorization Key from Google, which should then open a "Google Login" screen, which will then return to me something that will indicate to me whether or not the login was successful. What I can't find is how to pull name and email address information from Google once it's sent to me a successful login notification. What am I missing? Thanks,WindyJ
Back to
Seekers of Perl Wisdom
|
|