Skip to content

Commit

Permalink
add docu about ssl peers
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Feb 3, 2015
1 parent f832541 commit 19115c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Revision history for Dancer-Plugin-Auth-Twitter
* Replace default engine to be Net::Twitter::Lite.
(GH#15, odyniec)

[ DOCUMENTATION ]
* Add note about 'can't verify ssl peer'. (GH#16)

[ MISC ]
* Add tests. (GH#17, odyniec)

Expand Down
10 changes: 10 additions & 0 deletions lib/Dancer/Plugin/Auth/Twitter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,16 @@ specified by C<callback_success>.
If the validation of the token returned by Twitter failed or was denied,
the user will be redirect to the URI specified by C<callback_fail>.
=head1 TIPS AND TRICKS
If you get the error
Net::Twitter::Role::OAuth::get_authorization_url():
GET https://api.twitter.com/oauth/request_token failed: 500
Can't verify SSL peers without knowing which Certificate Authorities to trust
you can silence it by setting the environment variable C<PERL_LWP_SSL_VERIFY_HOSTNAME> to C<0>.
=head1 ACKNOWLEDGEMENTS
This plugin has been written as a port of
Expand Down

0 comments on commit 19115c0

Please sign in to comment.