Skip to content

Commit

Permalink
use setBearerToken instead of setAccessToken for cWDS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidangb committed Mar 14, 2024
1 parent c14d281 commit 7de86c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class HttpCwdsDAO(enabled: Boolean) extends CwdsDAO {
val apiClient: ApiClient = new ApiClient()
apiClient.setHttpClient(commonHttpClient)
apiClient.setBasePath(FireCloudConfig.Cwds.baseUrl)
apiClient.setAccessToken(userInfo.accessToken.token)
apiClient.setBearerToken(userInfo.accessToken.token)
val jobApi: JobApi = new JobApi()
jobApi.setApiClient(apiClient)

Expand Down

0 comments on commit 7de86c5

Please sign in to comment.