Skip to content

Account Registration and Login

This page explains how to register an account, log in, and log out on the todoke dashboard.

  1. Open the dashboard registration screen (/register).
  2. Enter your email address.
  3. Enter a password (at least 6 characters). The form will not submit a password shorter than 6 characters.
  4. Click “アカウントを作成” (Create account). While submitting, “登録中…” (Registering…) is displayed.

Below the registration form, the following note is shown: “登録することで、利用規約 および プライバシーポリシー に同意したものとみなされます。” (By registering, you are deemed to have agreed to the Terms of Service and Privacy Policy.)

If you already have an account, you can move to the login screen (/login) via the “ログイン” (Login) link at the bottom of the registration screen.

The login screen (/login) provides a “GitHub でログイン” (Log in with GitHub) button in addition to the email/password form.

  1. On the login screen, click “GitHub でログイン” (Log in with GitHub).
  2. You are redirected from the dashboard to GET https://api.todoke.dev/auth/github.
  3. GitHub’s authorization screen is displayed; grant access to todoke.
  4. You are returned from GitHub to the callback (/auth/github/callback), and once authentication completes you are automatically taken to the dashboard’s app list screen (/) in a logged-in state.

Clicking the “ログアウト” (Log out) button in the top right of the header on the post-login app list screen (/) destroys the session and returns you to the login screen (/login).

If login or registration fails, an error message is displayed in red below the form (it is also announced to assistive technologies as role="alert").

OperationMessage displayedCorresponding error code
Login failure (email/password mismatch)“メールアドレスまたはパスワードが正しくありません” (The email address or password is incorrect)INVALID_CREDENTIALS
Registration failure (duplicate email)“このメールアドレスは既に使用されています” (This email address is already in use)EMAIL_IN_USE

For the full list of error codes, see Error codes and limits.