in reply to Need help in implementing OIDC::Lite::Webserver
The parameter you provide to access_to_protected_resource() is a string, a scalar. But you insist on treating it like a reference to an object. And then wonder why it complains. If I wanted to understand why it complains, I would go to that line and find out why I try to access fields inside a reference ($your_app->store) when it is indeed a scalar.
To me, your code looks like a very bad case of cargo-culting/copy-paste programming. For example, is there a reason why you use a do{}; block (which is not closed btw)? Additionally, you do not make sure that the exerpt you provided does indeed compile before you come here and ask for help. And it's also disrepecting to provide a zillion unneeded (for the exerpt you provided) module dependencies which must be installed in each of our computers in order to be able to have the privilege to run this abomination.
bw, bliako
|
|---|