diff --git a/radar-auth/src/main/java/org/radarbase/auth/kratos/KratosSessionDTO.kt b/radar-auth/src/main/java/org/radarbase/auth/kratos/KratosSessionDTO.kt index d11a1855d..f81f711e9 100644 --- a/radar-auth/src/main/java/org/radarbase/auth/kratos/KratosSessionDTO.kt +++ b/radar-auth/src/main/java/org/radarbase/auth/kratos/KratosSessionDTO.kt @@ -6,7 +6,6 @@ import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.encoding.Decoder import org.radarbase.auth.authorization.AuthorityReference -import kotlinx.serialization.json.JsonElement import org.radarbase.auth.authorization.RoleAuthority import org.radarbase.auth.token.DataRadarToken import org.radarbase.auth.token.RadarToken @@ -121,7 +120,6 @@ class KratosSessionDTO( val value: Metadata ) - fun toDataRadarToken() : DataRadarToken { return DataRadarToken( roles = this.identity.parseRoles(), diff --git a/src/main/java/org/radarbase/management/service/AuthService.kt b/src/main/java/org/radarbase/management/service/AuthService.kt index 6fe1adddd..b44f9343c 100644 --- a/src/main/java/org/radarbase/management/service/AuthService.kt +++ b/src/main/java/org/radarbase/management/service/AuthService.kt @@ -33,8 +33,8 @@ class AuthService( private val httpClient = HttpClient(CIO) { install(HttpTimeout) { - connectTimeoutMillis = Duration.ofSeconds(20).toMillis() - socketTimeoutMillis = Duration.ofSeconds(20).toMillis() + connectTimeoutMillis = Duration.ofSeconds(10).toMillis() + socketTimeoutMillis = Duration.ofSeconds(10).toMillis() requestTimeoutMillis = Duration.ofSeconds(300).toMillis() } install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true }) } diff --git a/src/main/webapp/app/admin/user-management/user-management-dialog.component.html b/src/main/webapp/app/admin/user-management/user-management-dialog.component.html index 6cc941d9e..2f280b0d0 100644 --- a/src/main/webapp/app/admin/user-management/user-management-dialog.component.html +++ b/src/main/webapp/app/admin/user-management/user-management-dialog.component.html @@ -34,6 +34,20 @@ +
+ + + +
+ + +
+
+