Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^13: How can i capture the site_id in Dancer 2 app?

by 1nickt (Abbot)
on Jun 18, 2021 at 10:09 UTC ( #11133995=note: print w/replies, xml ) Need Help??


in reply to Re^12: How can i capture the site_id in Dancer 2 app?
in thread How can i capture the site_id in Dancer 2 app?

chandantul you must get better at reading documentation and code. You must be more careful.

Why did you think there was an authorize() method on a Net::OAuth2::Client object? It's not documented.

In fact the documentation for the module you have chosen to use states: "Net::OAuth2::Client - client for OAuth2 access, deprecated interface".

See https://metacpan.org/release/MARKOV/Net-OAuth2-0.66/source/examples/psgi/app.psgi#L88 for an example of how the client() subroutine should look.

By the way I am not the author of any of these modules.


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133995]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2021-10-20 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (81 votes). Check out past polls.

    Notices?