diff options
Diffstat (limited to 't/Mock/OpenIDConnect.pm')
-rw-r--r-- | t/Mock/OpenIDConnect.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/Mock/OpenIDConnect.pm b/t/Mock/OpenIDConnect.pm index 77ed88817..079c354fc 100644 --- a/t/Mock/OpenIDConnect.pm +++ b/t/Mock/OpenIDConnect.pm @@ -27,6 +27,11 @@ sub dispatch_request { return [ 200, [ 'Content-Type' => 'text/html' ], [ 'OpenID Connect login page' ] ]; }, + sub (GET + /oauth2/v2.0/logout + ?*) { + my ($self) = @_; + return [ 200, [ 'Content-Type' => 'text/html' ], [ 'OpenID Connect logout page' ] ]; + }, + sub (POST + /oauth2/v2.0/token + ?*) { my ($self) = @_; my $header = { |