update readme about azure client id

This commit is contained in:
creeper123123321 2025-08-14 15:15:46 -03:00
parent 76f30b8b3c
commit 3781bd1b37
2 changed files with 5 additions and 8 deletions

View File

@ -49,6 +49,8 @@ java -jar VIAaaS-all.jar
- Open the Minecraft port (25565)
- The HTTPS page needs a valid SSL certificate, you can use a reverse proxy like [Apache](https://httpd.apache.org/) (with
a [Let's Encrypt](https://letsencrypt.org/) certificate).
- You'll need to configure a Azure Client ID, edit ```config/web/js/config.js``` (default is in the jar) and
configure your [Azure Client ID](https://minecraft.wiki/w/Microsoft_authentication).
## Usage for players
@ -117,12 +119,6 @@ Fabric/Forge client:
which reduces maintainability.
- It allows your account password and token to be kept with you.
#### How to use Microsoft Account?:
- If you're an administrator of the instance, edit ```config/web/js/config.js``` (default is in the jar) and
configure your [Azure Client ID](https://wiki.vg/Microsoft_Authentication_Scheme#Microsoft_OAuth_Flow) and your domain
whitelist.
### Connection
#### How to use IPv6?:

View File

@ -1,4 +1,5 @@
// See https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-app-registration
// To create a Client ID see https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-app-registration
// and submit it to Mojang's review https://help.minecraft.net/hc/en-us/articles/16254801392141p
// You'll need to add the page as a Redirect URL to Azure as a Single Page Application
// noinspection ES6ConvertVarToLetConst - TODO fix this
@ -7,4 +8,4 @@ const azureClientId: string = "a370fff9-7648-4dbf-b96e-2b4f8d539ac2";
// Default CORS Proxy config
var defaultCorsProxy: string | null = "https://cors.re.yt.nom.br/";
// Default instance suffix, in format "viaaas.example.com[:25565]", null to use the page hostname;
var defaultInstanceSuffix: string | null = null;
var defaultInstanceSuffix: string | null = null;