MultiMC: Difference between revisions

From NixOS Wiki
imported>Leo60228
Expand on MSA instructions
imported>Nix
m add Software/Applications subcategory
Line 15: Line 15:
(multimc.override { msaClientID = "00000000-0000-0000-0000-000000000000"; })
(multimc.override { msaClientID = "00000000-0000-0000-0000-000000000000"; })
</syntaxhighlight>
</syntaxhighlight>
[[Category:Applications]]

Revision as of 06:11, 20 September 2021

Using a Microsoft account

Microsoft authentication requires a client ID, which the package in Nixpkgs does not currently contain.

The MultiMC source contains instructions to create one:

  1. Register an app, following the instructions at https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app (make sure that you've set up a tenant as mentioned in the prerequisites)
  2. Restrict it to personal accounts
  3. Do *not* add a redirect URI, platform, credentials, certificates, or client secrets
  4. Enable public client flows
  5. Enable Live SDK support (under authentication)

You can then override the MultiMC package to include your client ID:

(multimc.override { msaClientID = "00000000-0000-0000-0000-000000000000"; })