codeClient RPC

client.customer.login

Log a user in via their Discord account. This can be acquired by going through the Discord application OAuth login flow. Will return all the licenses a user has, including its associated product.

Use this if you wish to add Discord-based login into your service.

More information on Discord OAuth can be found here:

https://docs.discord.com/developers/topics/oauth2arrow-up-right

Parameters

Name
Type
Description

token

string

The discord OAuth token

Last updated