You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2023. It is now read-only.
Adding new mandatory "device-token" header to fix auth issues (#83)
* Added device token header to auth flow and to config file
* Changed url to oauth2 without trailing slash to avoid breaking in the future
* Updated readme and config examples
* Added random uuid to test credentials
* added README section for UUID generation
Co-authored-by: Markus Ressel <mail@markusressel.de>
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,34 @@ If you want to use environment variables:
42
42
43
43
-`N26_USER`: username
44
44
-`N26_PASSWORD`: password
45
+
-`N26_DEVICE_TOKEN`: random [uuid](https://de.wikipedia.org/wiki/Universally_Unique_Identifier) to identify the device
45
46
-`N26_LOGIN_DATA_STORE_PATH`: optional **file** path to store login data (recommended for cli usage)
46
47
-`N26_MFA_TYPE`: `app` will use the paired app as 2 factor authentication, `sms` will use SMS to the registered number.
47
48
48
49
Note that **when specifying both** environment variables as well as a config file and a key is present in both locations the **enviroment variable values will be preferred**.
49
50
50
51
## Authentication
51
52
53
+
### Device Token
54
+
55
+
Since 17th of June 2020 N26 requires a device_token to differentiate clients. This requires you to specify the `DEVICE_TOKEN`
56
+
config option with a UUID of your choice. To generate a UUID you can use f.ex. one of the following options:
0 commit comments