JetBrains / JetBrains/YouTrackSharp

Calling BearerTokenConnection.GetAuthenticatedApiClient hangs

Open
#115 2 comments 0 reactions 1 assignee Claimed by @rekolobov View on GitHub
Dominant language
C#
Stars
143
Forks
105
PR merge metrics
No merged PRs in 30d

Description

## Expected behavior
Expecting GetAuthenticatedApiClient to return a YouTrackClient object

## Actual behavior
GetAuthenticatedApiClient call never returns

## Steps to reproduce the behavior
Call GetAuthenticatedApiClient. Tried the following:

var _newClient = _connection.GetAuthenticatedApiClient().Result;
var _newClient = await _connection.GetAuthenticatedApiClient();
var _newClient = await _connection.GetAuthenticatedApiClient().ConfigureAwait(false);

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.