XIVAuth makes use of JWTs for purposes of attestations, such as proving ownership over a character. The JWT implementation that XIVAuth exposes requires some special considerations in order to keep consumer applications secure. This page documents those considerations, as well as general guidance for ensuring safety while using Attestation JWTs.

<aside> 🔥 This document is still being written, and serves as loose notes right now.

</aside>

Attestation Format

XIVAuth JWT attestations are normal (mostly-standards-compliant) JWTs, with the following properties in the header:

Likewise, certain properties are defined for bodies of attestation JWTs:

For security and interop purposes, XIVAuth will also include an optional nonce field in the JWT body. The contents of this field are controlled by the requesting client, and are considered opaque to XIVAuth. API clients are generally advised to set this to a random value to prevent token replay attacks, but clients may choose to send state information if desired.

Supported Algorithms