Passwords and account recovery
A Cognipeer account signs in either with a password that Cognipeer keeps or through your organization's directory (single sign-on or LDAP). This page is about the first kind. It covers how a person resets a forgotten password and how to change it. It also covers what an administrator can do for someone who is locked out, and how to get back into the owner account of an installation you run yourself.
When to use
- You forgot your password, or the reset email does not arrive.
- Someone in your workspace cannot sign in and asks you to reset their password.
- You run Cognipeer yourself and nobody can sign in as the owner.
First: where does your password live?
| How you sign in | Where the password is reset |
|---|---|
| Email and password on the Cognipeer sign-in page | In Cognipeer, with Forgot password? (see below). |
| Single sign-on (OIDC) | At your organization's identity provider. Cognipeer does not store that password. |
| LDAP or Active Directory (self-hosted only) | In your directory. Cognipeer does not store that password. |
Cognipeer never sets a password for an account that signs in through a directory. The reset form sends that account no link, and My account → Password says Your password is managed elsewhere. Ask your IT team to reset it in the directory. See SSO, directory sign-in and groups.
A service account (a programmatic user that only owns API tokens) has no password and cannot sign in.
Reset a forgotten password
- On the sign-in page, select Forgot password?.
- Enter the email address you sign in with and select Send reset link.
- Open the email with the subject Password Reset Request and select Reset password. The link is valid for 1 hour.
- Enter the new password twice and select Reset password. Then sign in with the new password.
What to expect:
- The page answers Check your email for every address, whether or not it has an account, so it never reveals which addresses have accounts.
- If you belong to several organizations with the same address, one email arrives with a separate link for each organization. Each link resets the password of that organization's account only.
- A link works once. A reset or a password change makes every link sent before it invalid.
- An expired or used link opens Invalid reset link. Select Request new link to get a fresh one.
- A reset signs you out of your other sessions. An operator can turn this off with
AUTH_PASSWORD_CHANGE_ENDS_SESSIONS=false(see Configuration).
Password requirements
The same rules apply to a reset, a change and a first password:
- at least 8 characters,
- uppercase and lowercase letters,
- at least one digit,
- at least one special character.
The email does not arrive
| Check | Why |
|---|---|
| Spam or quarantine folder | The email comes from the sender address your installation is set up with. |
| The address you typed | Only the address on your account gets a link. Any other address gets nothing, and the page does not say so. |
| How you sign in | Accounts that sign in through single sign-on or LDAP get no link. Reset the password in your directory. |
| Whether the account is disabled | A disabled account gets no link. Ask an owner or admin to enable it. |
| Too many requests | One client address may ask for 3 reset links in 15 minutes. Setting the new password has the same limit, counted separately. Wait, then try again. |
| Self-hosted: is mail set up? | Without working mail settings, nothing is sent and the page still answers Check your email. See Self-hosted: recover the owner account. |
| Self-hosted: the link opens the wrong address | The link is built from APP_URL. Set it to the address people open Cognipeer at. |
Change your password
- Open the account menu and select My account.
- In Password, enter your current password and the new one twice.
- Select Change password.
Your current session stays signed in, and your other sessions end. If the current password is wrong, the card says The current password is not correct; after 10 attempts in 15 minutes, further attempts are refused for a while.
A temporary password at the first sign-in
An administrator can create your account without sending an invitation email. They then get a one-time password to pass on to you. At your first sign-in with it, Cognipeer asks you to choose your own password before you continue.
What an administrator can do
Owners and admins manage people under Settings → IAM center → Principals. They cannot see anyone's password. To get someone back in:
| Situation | What to do |
|---|---|
| The person forgot their password | Ask them to use Forgot password? on the sign-in page. |
| The invitation email never arrived, or its link expired | Open the person's actions and select Copy invitation link, then send the link yourself. An invitation link is valid for 7 days and can be used once. The action is offered only while the invitation is still pending. |
| The person can no longer receive mail at their address | Select Edit profile, change the email address, and ask them to request a reset link for the new address. Not possible for accounts that sign in through a directory. |
| The person must not sign in for now | Select Disable. Enable lets them in again. |
Two rules apply to all of these. An admin cannot act on an account with a higher role than their own. Only the owner can make changes to the owner account.
Self-hosted: recover the owner account
The owner account is the first account of a self-hosted installation, created from the BOOTSTRAP_* variables or by the first sign-up. If nobody can sign in as the owner:
- Use Forgot password? with the owner's email address. The owner resets a password the same way as everyone else.
- If no email arrives, set up mail first. Cognipeer sends mail over SMTP. Set
SMTP_HOST,SMTP_PORT,SMTP_SECURE,SMTP_USER,SMTP_PASSandSMTP_FROM, orSENDGRID_API_KEYandSENDGRID_FROM_EMAILfor SendGrid (see SMTP (Email)). Cognipeer sends mail only when a user name and a password are set, so a relay without authentication is not used. Also setAPP_URLto the address people open Cognipeer at, because the reset link is built from it. Restart Cognipeer, then request the link again. - Changing
BOOTSTRAP_ADMIN_PASSWORDdoes not reset the password. The bootstrap variables create the first organization and its owner only when the database holds no organization yet. Once one exists, they are ignored. - Another admin cannot reset it. Only the owner can make changes to the owner account.
If no one can receive mail at the owner's address any more, open a support ticket and include the installation's version and the owner's email address.
Related
- Authentication: sessions, sign-in hardening and API tokens.
- SSO, directory sign-in and groups: accounts whose password lives in a directory.
- Configuration:
REGISTRATION_MODEand theBOOTSTRAP_*variables. - Troubleshooting and FAQ: error codes and support tickets.

