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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.