mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 19:15:59 +01:00
Bump oauth2-oidc-sdk to 8.29.1 (#2617)
This commit is contained in:
@@ -59,7 +59,7 @@ libraryDependencies ++= Seq(
|
||||
"org.cache2k" % "cache2k-all" % "1.2.4.Final",
|
||||
"net.coobird" % "thumbnailator" % "0.4.12",
|
||||
"com.github.zafarkhaja" % "java-semver" % "0.9.0",
|
||||
"com.nimbusds" % "oauth2-oidc-sdk" % "5.64.4",
|
||||
"com.nimbusds" % "oauth2-oidc-sdk" % "8.29.1",
|
||||
"org.eclipse.jetty" % "jetty-webapp" % JettyVersion % "provided",
|
||||
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided",
|
||||
"junit" % "junit" % "4.13" % "test",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user