aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/OpenIDConnect.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2019-07-24 11:17:36 +0100
committerDave Arter <davea@mysociety.org>2019-08-16 14:25:12 +0100
commit2865db75291b7520e7dd2a4023d44ba75d961090 (patch)
tree653223d54205578b064c722bb5d61f48894f7fd5 /t/Mock/OpenIDConnect.pm
parent7372ee6e7233968b41a862845f1f2087dc5c891c (diff)
Improve checking of OIDC ID tokens, and handle OIDC forgotten password flow correctly
Diffstat (limited to 't/Mock/OpenIDConnect.pm')
-rw-r--r--t/Mock/OpenIDConnect.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/Mock/OpenIDConnect.pm b/t/Mock/OpenIDConnect.pm
index 3fb15ff70..77ed88817 100644
--- a/t/Mock/OpenIDConnect.pm
+++ b/t/Mock/OpenIDConnect.pm
@@ -48,6 +48,7 @@ sub dispatch_request {
family_name => "Dwyer",
tfp => "B2C_1_default",
extension_CrmContactId => "1c304134-ef12-c128-9212-123908123901",
+ nonce => 'MyAwesomeRandomValue',
};
$payload->{emails} = ['oidc@example.org'] if $self->returns_email;
my $signature = "dummy";