Skip to content

Commit

Permalink
close the bufferedSource
Browse files Browse the repository at this point in the history
  • Loading branch information
lalwani committed Mar 13, 2024
1 parent afe5ab2 commit d0a64a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ object SsoConfigProvider {
val clientId = getRequiredConfigString(configJson, CLIENT_ID_PARAM)
val scope = getConfigString(configJson, SCOPE_PARAM)
val redirectUri = getRequiredConfigString(configJson, REDIRECT_PARAM)
configSource.close()
return SsoConfig(clientId, redirectUri, scope)
} catch (ex: IOException) {
throw AuthException.ClientError("Failed to read configuration: " + ex.message)
Expand Down

0 comments on commit d0a64a1

Please sign in to comment.