aboutsummaryrefslogtreecommitdiff
path: root/build.PL
diff options
context:
space:
mode:
authorMatthias Benkard <matthias.benkard@egym.de>2015-04-14 08:39:27 +0000
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2015-04-23 21:55:02 +0200
commitba65cc50b7b468f0738398312a468ea413727bdc (patch)
tree19749bd8803a2f718013cf8901c04ea658f98731 /build.PL
parentfaea34e5c94922645b337bdeb5db32871eb1fde9 (diff)
QT-1900 Add a CSRF token to the OIDC login flow.
This improves security by generating a CSRF token, passing it to the OIDC IdP, and validating it afterwards. The token is stored in a cookie reverse-encrypted with MulkyID's private key.
Diffstat (limited to 'build.PL')
-rw-r--r--build.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.PL b/build.PL
index 6e008d3..7c320e2 100644
--- a/build.PL
+++ b/build.PL
@@ -29,7 +29,9 @@ my $build = Net::MulkyID::Builder->new
"OIDC::Lite::Client::WebServer" => 0,
"OIDC::Lite::Model::IDToken" => 0,
"LWP::UserAgent" => 0,
- "HTTP::Request" => 0
+ "HTTP::Request" => 0,
+ "Math::Random::ISAAC::XS" => 0,
+ "Bytes::Random::Secure" => 0
},
build_requires => {
"LWP::Simple" => 0,