Adrian Kumpf
e4234b4f25
Split auth code into smaller modules
2021-08-30 16:16:21 +02:00
Adrian Kumpf
c630ec662a
Handle captcha appearing after submitting form
2021-08-30 15:06:17 +02:00
Adrian Kumpf
70b5717ae1
Make Tesla's WAF happy
2021-08-06 15:04:55 +02:00
Adrian Kumpf
be76577d5b
Enter captcha code in a separate view
...
Addresses #1836
2021-07-16 18:28:25 +02:00
Adrian Kumpf
34d8fb7887
Fix login with captcha for accounts outside of China
2021-07-16 16:05:13 +02:00
Adrian Kumpf
88fc27efb1
Change default auth headers
2021-07-16 14:48:01 +02:00
Adrian Kumpf
99c5bc8ccc
Fix login for Chinese accounts
2021-07-08 12:15:25 +02:00
Adrian Kumpf
543d53a879
Fix login with captcha
2021-07-08 10:46:00 +02:00
Adrian Kumpf
efef6ca887
Fix sign-in for Chinese accounts
2021-06-02 19:10:45 +02:00
Adrian Kumpf
1a90cdeadf
Allow to sign in w/o captcha
...
Addresses #1658
2021-06-02 11:24:45 +02:00
Adrian Kumpf
4b4ac82cd2
Handle errors when loading captcha
2021-06-01 10:49:33 +02:00
Adrian Kumpf
e557152dfb
Consolidate return types
2021-06-01 10:41:26 +02:00
Adrian Kumpf
6050657876
Remove compression middleware
2021-06-01 01:06:10 +02:00
Adrian Kumpf
c5f4b11888
Re-add login hint
2021-06-01 01:05:08 +02:00
Adrian Kumpf
b161f33c0c
Show error message if account is locked
2021-06-01 00:53:35 +02:00
Adrian Kumpf
827f5aa33d
Support Tesla's captcha verification
2021-06-01 00:53:32 +02:00
Iulius
ff74185ab7
typo in code_challenge_method fixed ( #1571 )
...
the code_challenge_method should be S256
2021-04-27 12:26:52 +02:00
Adrian Kumpf
535be718fc
Tweak user agent randomization
2021-03-17 18:29:18 +01:00
Adrian Kumpf
0a2364656d
Set another user agent for auth requests
2021-03-16 17:45:37 +01:00
Adrian Kumpf
6d31adba00
Use Mix.Project.config/0 to get version at compile time
2021-03-13 21:06:12 +01:00
Adrian Kumpf
4c9fc7e392
Update user agent used for API requests
2021-03-13 13:14:02 +01:00
Adrian Kumpf
9fee2b5afe
Change default auth headers
2021-03-10 19:47:54 +01:00
Adrian Kumpf
1384023bf5
Change default headers to make Tesla WAF happy
...
Addresses #1369
2021-02-21 10:45:49 +01:00
Adrian Kumpf
b1991f541e
Add support for v3 API tokens in China ( #1300 )
...
* Add support for v3 API tokens in China
* Add support for refreshing tokens in China
* Log auth requests without debug output
* Log failed requests to the Owner API
2021-02-06 17:28:29 +01:00
Adrian Kumpf
9ca3830f04
Refresh access tokens with new auth endpoint
2021-01-30 19:20:49 +01:00
Adrian Kumpf
3bb2d3086f
Remove support for legacy auth
2021-01-30 18:06:13 +01:00
Adrian Kumpf
d825fc1723
Allow to use the legacy authentication API
2020-12-29 15:05:38 +01:00
Adrian Kumpf
bb7df800a5
Allow to enter MFA codes
2020-12-20 22:18:52 +01:00
Adrian Kumpf
bf37134995
Small refactoring
2020-12-19 21:54:36 +01:00
Adrian Kumpf
42ac182b97
Use Tesla client with custom auth middleware
2020-12-19 21:08:10 +01:00
Adrian Kumpf
df6b96b1c8
Implement MFA flow
2020-12-19 21:07:55 +01:00
Adrian Kumpf
60631907ef
Replace mojito with finch
2020-05-14 14:11:20 +02:00
Adrian Kumpf
d301ac86f6
Include customized :tesla_api package
2019-12-15 15:36:26 +01:00