Skip to content

Commit 7b4de5a

Browse files
committed
Added guzzle patch for OIDC mock
1 parent e9e8124 commit 7b4de5a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/web/modules/contrib/openid_connect/src/Plugin/OpenIDConnectClientBase.php b/web/modules/contrib/openid_connect/src/Plugin/OpenIDConnectClientBase.php
2+
index f70effe8..4c9cec4a 100644
3+
--- a/web/modules/contrib/openid_connect/src/Plugin/OpenIDConnectClientBase.php
4+
+++ b/web/modules/contrib/openid_connect/src/Plugin/OpenIDConnectClientBase.php
5+
@@ -341,6 +341,9 @@ protected function getRequestOptions(string $authorization_code, string $redirec
6+
'headers' => [
7+
'Accept' => 'application/json',
8+
],
9+
+ // We use a self-signed certificate for development.
10+
+ // https://docs.guzzlephp.org/en/stable/request-options.html?highlight=verify#verify
11+
+ \GuzzleHttp\RequestOptions::VERIFY => FALSE,
12+
];
13+
}

0 commit comments

Comments
 (0)