Skip to content

Commit 518bd7b

Browse files
committed
custom imports
1 parent 53da60f commit 518bd7b

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

docs/token-managements.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,24 @@ Go to **Options > My Account** and click `Import` option, then choose the json f
6565

6666
![import](https://github.com/simular/authman-app/assets/1639206/11503c25-f798-4257-84a7-62a96689e2c5)
6767

68-
> [!NOTE]
69-
> Currently, Authman only supports import file which is exported from Authman, we are considering add the way to import from other 2FA apps in the future.
70-
68+
### Format of Import File
69+
70+
If you have 2FA token secrets from other app or source, and you want to import them into Authman,
71+
currently Authman only supports own import format, please convert your secrets to this JSON format:
72+
73+
```json
74+
{
75+
"accounts": [
76+
{
77+
"content": {
78+
"title": "WebSite Name",
79+
"secret": "IGNV.....",
80+
"image": "data:image/png;base64,...",
81+
}
82+
},
83+
{...},
84+
{...}
85+
]
86+
}
87+
```
7188

0 commit comments

Comments
 (0)