# Web interface login (credentials)

**URL:** https://forum.syncthing.net/t/web-interface-login-credentials/19890
**Category:** Support
**Created:** [March 7, 2023, 5:20am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890 "2023-03-07T05:20:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![PatrickTT](https://forum.syncthing.net/user_avatar/forum.syncthing.net/patricktt/32/13971_2.png) [@PatrickTT](https://forum.syncthing.net/u/PatrickTT)
#### Post date: [March 7, 2023, 5:20am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/1 "2023-03-07T05:20:18Z")

</div>

Hi! I just started using syncthing for a few week and all of a sudden, I’m asked for credentials when I try to open the web interface on my Mac (M1, Brave Browser). I tried syncthing / [API Key] as I read somewhere, but this does not work.

So:

- What are the default credentials?
- If I had set them and don’t remember, how can I reset them?

Thank you very much for your help!

-Patrick-

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [March 7, 2023, 6:33am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/2 "2023-03-07T06:33:13Z")

</div>

The default is no credentials. See this FAQ for how to reset them: [https://docs.syncthing.net/users/faq.html#how-do-i-reset-the-gui-password](https://docs.syncthing.net/users/faq.html#how-do-i-reset-the-gui-password)

---

<div class="post-metadata">

### Author: ![PatrickTT](https://forum.syncthing.net/user_avatar/forum.syncthing.net/patricktt/32/13971_2.png) [@PatrickTT](https://forum.syncthing.net/u/PatrickTT)
#### Post date: [March 8, 2023, 5:21am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/3 "2023-03-08T05:21:23Z")

</div>

Thank you very much for your answer André! =) So how did I log in to the web interface without credentials before?

But more important, the FAQ says:

```plaintext
syncthing generate --gui-password=myNewPassword --gui-user=newUserName

```

But where do I enter that? If I put it in the terminal, it only says “zsh: command not found: syncthing”

What am I doing wrong here?

---

<div class="post-metadata">

### Author: ![er-pa](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/e/90db22/32.png) [@er-pa](https://forum.syncthing.net/u/er-pa)
#### Post date: [March 8, 2023, 8:17am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/4 "2023-03-08T08:17:26Z")

</div>

> [@PatrickTT](#):
>
> But where do I enter that? If I put it in the terminal, it only says “zsh: command not found: syncthing”

I suppose that depends a little on how you installed Syncthing. If you used the Application Bundle for MacOS then you first have to dive into the Application Bundle;

> cd /Applications/Syncthing.app/Contents/Resources/syncthing

There you can run

> ./syncthing generate --gui-password=… --gui-user=…

(obv the above two steps can be combined)

Or if you rather just modify `config.xml` yourself using some text editor, this should be - per default - available as;

> ~/Library/Application\ Support/Syncthing/config.xml

There you can just remove the user and password tags within the gui part.

---

<div class="post-metadata">

### Author: ![PatrickTT](https://forum.syncthing.net/user_avatar/forum.syncthing.net/patricktt/32/13971_2.png) [@PatrickTT](https://forum.syncthing.net/u/PatrickTT)
#### Post date: [March 9, 2023, 7:36am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/5 "2023-03-09T07:36:29Z")

</div>

Thank you very much! With viewing the config file, I remembered the login I gave it initially.

Thanks for the help - solved my problem! =)

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [April 8, 2023, 7:36am UTC](https://forum.syncthing.net/t/web-interface-login-credentials/19890/6 "2023-04-08T07:36:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
