How to reset your password#

Estimated reading time: 3’

This guide will show you how to reset your password in case you forgot it and can’t access your account anymore.

Note

This method applies to all users (admins, data owners and data scientists) AND requires the Datasite server to have email notifications enabled. If email notifications are not enabled, only an Admin can reset your password.

1. Login as a guest#

You forgot your password. Don’t worry! It happens :)

First, you need to login to the Datasite using a guest connection:

guest_client = sy.login_as_guest(
    url=SERVER_URL,
    port=SERVER_PORT,
)

2. Send a password reset request#

Using the guest client, send a password reset request:

guest_client.forgot_password(email=EMAIL_ADDRESS)

3. Check your inbox#

Shortly after sending a password reset request, you should receive an email on the specified address with a password reset token.

Note

If you don’t receive an email after a few minutes, contact the Datasite admin for a manual reset.

4. Use the password reset token#

Use the token received by email to set a new password for your account:

guest_client.reset_password(
    token=TOKEN,
    new_password=NEW_PASSWORD
)

5. Login with your new password#

That’s it! You can now use the newly set password to access your account.

client = sy.login(
    url=SERVER_URL,
    port=SERVER_PORT,
    email=EMAIL_ADDRESS,
    password=NEW_PASSWORD, # use your new password
)