gagebenne/pydexcom

Authentication fails when logging in with an email address

Closed this issue · 1 comments

The new endpoints are tweaked slightly in terms of responses for bad authentication, and those tests are failing. The tests need to be modified to match the new responses.

It seems AuthenticatePublisherAccount takes either and email or a username, and returns a constant account ID. Rather than logging in by name via LoginPublisherAccountByName, the API accepts an account ID and password via LoginPublisherAccountById.

Unknown as of yet whether there is an endpoint along the lines of LoginPublisherAccountByEmail.