Commit Graph

2 Commits

Author SHA1 Message Date
Peter Gardfjäll
b62e2ac1e5
include CSRF-token in auth and drop 'modern' prefix in paths (#72)
This fix is needed to address internal changes in the Garmin API, where service
endpoints that previously worked started returning 402 responses. Appears like
dropping the `modern` prefix from the endpoint paths fixes the issue.

Also, the authentication sequence has been updated to include a CSRF (Cross-Site
Request Forgery) token to closer mimic the behavior of the login sequence on the
official web page.

Co-authored-by: kfollesdal <kristoffer.follesdal@bkk.no>
2021-02-25 11:19:51 +01:00
Peter Gardfjäll
94872ae543 switch from requirements.txt to pipenv/Pipfile 2020-04-08 20:25:16 +02:00