Hi All,

We are using OIDCAuth.pm for processing the requests from our application and when we sent a request from browser or postman we see the following exception from our proxy server.

[Thu May 06 10:11:34.064858 2021] [perl:error] [pid 92949] [client 49. +37.171.196:54868] failed to resolve handler `CastIron::OIDCAuth': Bareword "HTTP::Status::RC_PERMANENT_REDIRECT" not allowed while "stri +ct subs" in use at /usr/local/lib/perl5/site_perl/5.28.3/LWP/UserAgen +t.pm line 318. Compilation failed in require at /etc/httpd/CastIron/OIDCAuth.pm line +17. BEGIN failed--compilation aborted at /etc/httpd/CastIron/OIDCAuth.pm l +ine 17. Compilation failed in require at (eval 38) line 1
In our OIDCAuth.pm we are using LWP UserAgent.Please let me know if there is any module missing or any module need to install to resolve this issue.

Any help would be appreciated

Thanks
Mohan


In reply to Bareword "HTTP::Status::RC_PERMANENT_REDIRECT" not allowed while "strict subs" for https request by mohan.siripi

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.