Create app password (required to connect with apps and devices)
Your WebOké Nextcloud always asks for an extra code when you log in (two-factor authentication). Some apps can't enter that code. For those apps, you create an app password: a separate, long password that's only for that one app.
When do you need an app password?
| App or device | App password needed? |
|---|---|
| Nextcloud Files on your computer | No, you log in through your browser and the app takes care of the rest. |
| Nextcloud app on your phone or tablet | No, you log in through the login screen in the app. If that doesn't work, you can scan an app password as a QR code. |
| Calendar and contacts on your iPhone, iPad or Mac (CalDAV and CardDAV) | Yes |
| DAVx5 on Android | Usually not: choose to log in through the browser. If that doesn't work, use an app password. |
| Thunderbird and Outlook with CalDav Synchronizer | Yes |
| Your Nextcloud as a network drive (WebDAV) and other programs, such as backup software on a NAS | Yes |
An app password is also secure: if you lose your phone, for example, you only delete the app password for that device. Your regular password and your other devices keep working.
Creating an app password
- On your computer, go to your Nextcloud and log in. Click your profile picture or initials in the top right corner.

- In the menu, click Settings.

- On the left, click Security.

- Scroll down to Devices & sessions. Under App name, enter a name that will help you recognise the app later, for example Calendar iPhone Anne, and click Create new app password.

- You'll see your username (under Login) and the new app password (under Password). Copy the password and enter it in the app, where it asks for your password. For the username, use your regular Nextcloud username. If you're setting up the Nextcloud app on your phone, you can also click Show QR code for mobile apps and scan the code with the app.

Good habits
- Create one app password per app per device. If you lose one device, you only revoke that password.
- If you change your regular password, your app passwords keep working. Want to lock an app out? Delete its app password.
- Does an app show error 401, or does it keep asking for your password? Then it's usually trying your regular password. Create an app password and enter that instead.
Detailed explanation with screenshots and a short video: App passwords: when and how in the Nextcloud manual.
