For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Create tokenDev Discord
  • Get started
    • Introduction
    • Authentication
    • API Privacy
    • Exceptions
    • Dev Discord
      • Creating an application
      • Authorizing an application
      • Use application's access tokens
      • OAuth2 quirks
  • Modules
  • Changelog
    • v3.7.2 - OAuth2
    • v3.7.1
    • v3.7
    • v3.6 - Fruma Expansion
    • v3.5.2
    • v3.5.1
    • v3.5 - User System
    • v3.4
    • v3.3.4
    • v3.3.3
    • v3.3.2
    • v3.3.1
    • v3.3 - Rekindled World
    • v3.2.5
    • v3.2.4
    • v3.2.3
    • v3.2.2
    • v3.2.1
    • v3.2
    • v3.1
    • v3.0
LogoLogoWynncraft API - Documentation
Create tokenDev Discord
On this page
  • Application identity
  • Application metadata
  • Redirect URIs
  • Public and private applications
  • Scopes
  • URL generator
Get startedOAuth2

Creating an application

Create and configure a Wynncraft OAuth2 client
Was this page helpful?
Edit this page
Previous

Dev Discord

Next

Authorizing an application

Built with

Open the OAuth2 applications page from your account dashboard and create a new application.

Add application
Add application

Each application represents one OAuth2 client.

After giving it a name, your application will be created and you will have access to this editor:

Application editor
Application editor

The application secret is hidden after leaving the page. Save it before closing the editor if your application is private and needs a client secret.

Application identity

The editor lets you see:

  • Application ID
  • Application Secret

and edit:

  • Description

Application metadata

In the editor, you should set:

  • Name
  • Website
  • Terms of Service
  • Privacy Policy

These fields describe the client that is requesting access and should match the real application that users are authorizing.

Redirect URIs

Applications can define one or more redirect URLs.

Use Add Redirect URL to register every callback URL your application will use.

Only https redirect URLs are allowed, except for local development URLs using localhost or 127.0.0.1.

The redirect URI used during authorization must match the one used later during token exchange.

Public and private applications

The editor includes a Public Application toggle.

Enable public mode when your application runs in an environment where the secret could be exposed.

In practice:

  • Public applications should not rely on a client secret.
  • Private applications can use a client secret.

The API behavior for public and private applications is documented on the token exchange route at POST /oauth/token.

Scopes

The URL generator lets you enable the scopes your application requests.

The UI currently exposes:

  • identify
  • main_access
  • character_list_access
  • character_data_access
  • character_build_access
  • online_status
  • hunted_characters_access
  • guild_history_access
  • guild_high_ranked_access

Only request the scopes your application actually needs.

URL generator

The editor also shows:

  • the selected redirect URI
  • a generated authorization URL

Use that generated URL to verify that your selected redirect URI and requested scopes match the application configuration before integrating the OAuth2 flow in your client.

Url generator
Url generator