mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
Bump oauth2-oidc-sdk to 8.29.1 (#2617)
This commit is contained in:
@@ -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