3306ID
Contents

3306 ID/Developer guide

Register an app and verify your domain

There are six steps from creating a developer profile to going live. You get credentials as soon as you register an app, and it works straight away, with no queue to wait in. A new app starts out Unverified: anyone can sign in, up to a cumulative user cap. Once you verify ownership of its authorized domains, the app becomes Verified automatically and the sign-in page shows your app's name and the Domain verified label.

01Complete your first sign-in

  1. Developer profile

    In the console, choose individual or organization, enter a public name, contact email and region, and accept the current terms. Organizations also enter their legal name.

    How to tell it workedIf the contact email is your account's verified email, you are done. Otherwise you receive a verification email; enter its 6-digit code under the same account within 15 minutes. You can't register an app until the contact email is verified.

  2. Register the app

    Enter the app name and description, upload a square icon, and fill in the homepage, privacy policy, support email, notification emails, category and authorized domains.

    How to tell it workedThe app works as soon as it is saved, with the status Unverified. The support email is public; notification emails are not.

  3. Create a credential

    Your first credential is created with the app: name it, pick a type and list each callback URL in full. Single-page apps also list their JavaScript origins. You can add more credentials to the same app later.

    How to tell it workedCopy the client_id. A website with a backend also receives a client_secret, shown once. Store it on your server straight away.

  4. Add the code

    Download the Node example and the shared module, register the callback http://127.0.0.1:8071/callback, set ID_CLIENT_ID and ID_CLIENT_SECRET, and run node node.mjs.

    How to tell it workedOpen local port 8071 and sign in. The callback checks state, exchanges the code with the original code_verifier, verifies the signature and nonce, and reads UserInfo.

  5. Go live

    Add HTTPS callback URLs on an authorized domain to your credential (and HTTPS JavaScript origins for a single-page app). You can keep the loopback addresses for ongoing development.

    How to tell it workedAnyone can sign in. The sign-in page is headed by the actual return domain and labeled Unverified. An unverified app can have up to 100 users by default; people who have already authorized it are not affected.

  6. Verify your domain

    For each authorized domain, add the DNS TXT record shown in the console, or serve the same value at /3306-id-verification.txt on that domain, then select Check again in the console.

    How to tell it workedOnce every authorized domain passes, the app becomes Verified automatically, the user cap is lifted, the sign-in page shows your app's name and Verified, and your notification addresses receive an email.

02App status at a glance

StatusWho can sign inWhat users see
UnverifiedAnyone, up to 100 users by defaultThe actual return domain, an Unverified label and a reminder to check the address
VerifiedAnyone, with no capThe app's name, icon and a Verified label
SuspendedNo one; access tokens stop working at once“3306 has suspended this app, so it can't be used to sign in with 3306”

Verified depends only on domain ownership and is decided automatically. If any authorized domain fails its check, the app drops back to Unverified and its existing grants are revoked. Adding a domain that hasn't been verified also returns the app to Unverified and immediately revokes existing grants and consent. The label returns after all domains pass. See App policy and suspension for the rules and registration fields for the format of each field.

Read next