Bump oauth2-oidc-sdk to 8.29.1 (#2617)

This commit is contained in:
Naoki Takezoe
2020-12-30 00:36:04 +09:00
committed by GitHub
parent df81f6e364
commit 870a20721c
2 changed files with 5 additions and 2 deletions

View File

@@ -101,7 +101,10 @@ trait OpenIDConnectService {
redirectURI: URI
): Option[AuthenticationSuccessResponse] =
try {
AuthenticationResponseParser.parse(redirectURI, params.asJava) match {
AuthenticationResponseParser.parse(
redirectURI,
params.map { case (key, value) => (key, List(value).asJava) }.asJava
) match {
case response: AuthenticationSuccessResponse =>
if (response.getState == state) {
Some(response)