Commit Graph

62 Commits

Author SHA1 Message Date
Adrian Kumpf
672e4e55cf Don't exchange SSO token for Chinese accounts
Addresses #2378
2022-01-28 14:47:59 +01:00
Adrian Kumpf
8aa772872a Remove support for logins with username/password 2022-01-21 19:09:32 +01:00
Adrian Kumpf
3d1697a909 Don't parse issuer URL twice 2022-01-19 10:12:25 +01:00
Howard Su
811dac1d08 Fix MFA for Chinese accounts (#2234) 2022-01-01 18:04:13 +01:00
Adrian Kumpf
5113bc3c52 Update Chinese endpoints 2021-12-13 19:30:04 +01:00
Adrian Kumpf
977f423014 Use new Chinese endpoints
Related to #2214
2021-12-13 19:08:22 +01:00
Adrian Kumpf
0a127f60a9 Show error message if access is denied
Related to #2159
2021-11-17 17:39:28 +01:00
Adrian Kumpf
9c9564ecc7 Exchange Chinese SSO tokens 2021-10-31 16:56:36 +01:00
Adrian Kumpf
00ce5c39ce Use SSO Access Tokens 2021-09-30 13:45:02 +02:00
Adrian Kumpf
cbf8d8922d Handle unexpected SSL messages
Closes #2001
2021-09-28 17:19:02 +02:00
Adrian Kumpf
7f661a5a25 Update error message of recaptcha 2021-09-10 11:11:14 +02:00
Adrian Kumpf
373a478365 Update website dependencies 2021-08-30 17:23:34 +02:00
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
6c19a7b8a7 Handle owner_api errors returned by streaming API
Addresses #1848
2021-07-19 15:12:09 +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
Adrian Kumpf
289cf788be Extend test matrix 2021-05-03 13:11:30 +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
41f1280e75 Fix service mode detection
Related to #593
2021-04-06 17:38:09 +02:00
Adrian Kumpf
6f6dc0ae3f Use latset websockex 2021-03-20 21:38:42 +01: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
2b4d774b06 Change log level for streaming timeouts to debug 2021-02-06 17:32:00 +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
b27276b7db Handle unexpected MFA errors 2021-01-03 21:41:32 +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
Ahrr Jay
c104f9975e Fix typo in connection (#1009) 2020-10-14 12:30:43 +02:00