You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the authentication interceptor should also be added if okHttpClient is not null.
Is it ok if I send a PR?
The text was updated successfully, but these errors were encountered:
fedeperez89
changed the title
Providing an OkHttpClient to AWSAppSyncClient.Builder will make AppSyncClient not include authentication interceptors.
Authentication stop workings when OkHttpClient is added
Mar 28, 2018
fedeperez89
changed the title
Authentication stop workings when OkHttpClient is added
Authentication stops working when OkHttpClient is added
Mar 28, 2018
You may send a pull request. The authentication interceptor should be added in both cases when null and not null. Thank you for your feedback. We will fix this in the next release.
When building a
AWSAppSyncClient
if aOkHttpClient
is provided to the builder, authentication will stop working.Example:
Looking at the
AWSAppSyncClient
this part seems to be the issue:I think the authentication interceptor should also be added if
okHttpClient
is not null.Is it ok if I send a PR?
The text was updated successfully, but these errors were encountered: