fixed. The problem was server side. I had this in the rack initializer:
headers: :any,
methods: [:get, :post, :put, :patch, :delete, :options, :head]
changed to this:
headers: :any,
expose: ['access-token', 'expiry', 'token-type', 'uid', 'client'],
methods: [:get, :post, :put, :patch, :delete, :options, :head]
:)
devise_token_auth.