🧨
HEAT
  • HEAT
  • Getting started with HEAT
    • ⭐Quick Start
    • 🕺Explore Movements
    • 💼Collections
    • 🩻Auto-Rig
      • Text-To-Model Generator
      • Using Blender to Optimize Your Character Mesh
    • ⬆️Upload a Movement
      • Best Practices for Upload to HEAT
        • T69H
        • Export for HEAT
          • Reallusion Character Creator 4
          • Reallusion iClone
          • Cascadeur
          • Unreal Engine
          • Blender
          • Rokoko Studio
          • Xsens
          • Rigify
          • Auto-Rig Pro
    • 💰Subscription Tiers
    • 👾Become A Creator
  • UNREAL ENGINE PLUG-IN
    • Getting Started
    • Quick Guide
    • Animation Sequencer with HEAT
    • Advanced Tools in UE5
      • User Models
        • Free Blueprint Configs
      • MetaHumans
      • IK Retargeting with HEAT
    • Troubleshooting
      • HEAT Animations with State Machines
  • MAYA PLUG-IN
    • Getting Started
    • Quick Guide
    • Maya Time Editor with HEAT
    • Advanced Tools in Maya
      • HIK Retargeting with HEAT
    • Troubleshooting
  • HEAT Bridge
    • Getting Started
    • Using the HEAT Bridge
  • BLENDER PLUG-IN
    • Getting Started
    • Quick Guide
    • HEAT Plug-in Interface
    • Advanced Tools in Blender
      • NLA Editor with HEAT
      • Retargeting with HEAT
      • Using Custom Mesh
      • VRM Importer
    • Troubleshooting
      • Animation not completing download
  • UNITY PLUGIN
    • Getting Started
    • Quick Guide
    • Troubleshooting
  • DAZ 3D Plugin
    • Daz 3D Video Quick Tutorial
    • Getting Started
    • Quick Guide
    • Advanced Tools in Daz 3D
      • Daz 3D with the Heat Unreal Engine Plug-in
    • Troubleshooting
  • For Partners
    • Become A Partner
    • Already A Partner
      • Logging Users Into The Heat Platform
      • Retrieving User Content
  • Other
    • Contact and socials
Powered by GitBook
On this page
  • Current Supported Chains
  • Login Flow
  1. For Partners
  2. Already A Partner

Logging Users Into The Heat Platform

Documentation on how to log users into the Heat Platform

PreviousAlready A PartnerNextRetrieving User Content

Last updated 1 year ago

Users can be logged into the Heat Platform through a custom authentication flow that proves ownership of a wallet address

Current Supported Chains

Chain ID
Chain Name

80001

Polygon Mumbai

Login Flow

Note: This login flow assumes you can interface with a wallet to sign messages

There are two methods for logging a user into the Heat Platform. First is to use a version of the Amazon Amplify library to login. The second is to send a few manual requests in lieu of using the Amazon provided libraries

Manual Steps

Note: Responses will be returned in base64 encoding

  1. Request a challenge message to sign

Make a request to `` with a JSON body matching below.

Username is in the format {chainID}-{walletAddress} with chainID being the id of the chain you wish to login with and walletAddress being the 0x prefixed wallet address

{
    "AuthFlow":"CUSTOM_AUTH",
    "ClientId":"75k724tms8ge8aqg5sdmhm7s1n",
    "AuthParameters":{
        "USERNAME":"{chainID}-{walletAddress}"
    },
    "ClientMetadata":{}
}

2. Sign the message that is returned from the challenge response

A response will be returned with a message to sign in the challenge parameters

Example:

{
    "ChallengeName": "...",
    "ChallengeParameters": {
        "USERNAME": "{chainID}-{walletAddress}",
        "message": "I am signing my one-time nonce: ####",
    },
    "Session": "...", <- Will need this for challenge response!
}

3. Send signed message as challenge response

Example:

{
    "ChallengeName": "...",
    "ClientId":"75k724tms8ge8aqg5sdmhm7s1n",
    "ChallengeResponses": {
        "USERNAME": "{chainID}-{walletAddress}",
        "ANSWER": "0x...",
    },
    "Session": "...", <- Same as returned above
}

4. Access tokens are returned

Once you receive these Oauth 2.0 tokens they can be securely stored, and can be used to access the Heat Platform as an authenticated user

{
    "AuthenticationResult": {
        "AccessToken": ...,
        "ExpiresIn": ...,
        "idToken": ...,
        "RefreshToken": ...,
        "TokenType": "Bearer",
}
https://cognito-idp.us-west-1.amazonaws.com/