It seems at least some of your questions are more domain-specific than language-specific. That is, your OAuth2 knowledge could use a boost here as much or more than your Perl knowledge.

A redirect_uri is the URI which you've registered at the authenticator as where you want users brought back to your site after they authenticate. If you've registered with Yahoo! for their users to be authenticated to your application, this is the URI on your site you providedf to them.

https://aaronparecki.com/oauth-2-simplified/ has a good introduction to what can be some confusing terminology. Understanding OAuth2 (or OpenID Connect, or SAML2) on some level is important to choosing the right authentication method and using it appropriately. You won't need to be an expert or need to be able to rewrite the client libraries yourself, but this is something you can't cobble together without understanding a bit about the functioning of the standards from the points of view of the protocol client (which tends to be a web server) and the end-user's client (their browser).


In reply to Re: Oauth2 help needed by mr_mischief
in thread Oauth2 help needed by superwombat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.