The Authenticate class within the HyperMint SDK allows various interactions with your HyperMint authenticate app.

The easiest way to get started with the constructor is copy and paste the code snippet generated in "Developers" tab on the authenticate app page.

Constructor Options

appIdstringYThe Id of the authenticate app, found in your dashboard
enableLoggingbooleanNWhether or not to show console logging. Useful for development.
loggerLoggerFunctionNOptional custom logging function. See below for function signature. Used when enableLogging = true

Example Usage

<script src="" type="application/javascript"></script>

// ...

const { Authenticate } = HyperMint;

const app = new Authenticate({
    appId: '075f57a8-65dc-477e-9a8e-0ea19bbdbd52',
    enableLogging: true
const jwt = await app.authenticate();

// Send JWT token to your server


enableLogging is an optional parameters which prints logs to the console while developing. All logs start with HM and the name of the function they originated from.


Something not quite right, unclear or can't find what you are looking for? Please let us know at [email protected] and we will get back to you as soon as we can.

What’s Next