diff options
author | LennyMcLennington <lenny@sneed.church> | 2022-02-13 14:06:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 14:06:27 +0000 |
commit | a5b06514c633313409a5f4e479f1d6f354f8c4e2 (patch) | |
tree | f4ec5d771db9398984dc6b8d18541f1010da2da4 /launcher/minecraft | |
parent | 70a055bc278d4be86b5fca3f03ada312c4577f3d (diff) | |
parent | a309f4e72143b28865d5a8b94dcf913d3a95773f (diff) | |
download | PrismLauncher-a5b06514c633313409a5f4e479f1d6f354f8c4e2.tar.gz PrismLauncher-a5b06514c633313409a5f4e479f1d6f354f8c4e2.tar.bz2 PrismLauncher-a5b06514c633313409a5f4e479f1d6f354f8c4e2.zip |
Merge pull request #161 from Scrumplex/custom-clientid
Add MSA-Client-ID override in UI
Diffstat (limited to 'launcher/minecraft')
-rw-r--r-- | launcher/minecraft/auth/steps/MSAStep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/auth/steps/MSAStep.cpp b/launcher/minecraft/auth/steps/MSAStep.cpp index bc10aa4e..779aee43 100644 --- a/launcher/minecraft/auth/steps/MSAStep.cpp +++ b/launcher/minecraft/auth/steps/MSAStep.cpp @@ -14,7 +14,7 @@ using Activity = Katabasis::Activity; MSAStep::MSAStep(AccountData* data, Action action) : AuthStep(data), m_action(action) { OAuth2::Options opts; opts.scope = "XboxLive.signin offline_access"; - opts.clientIdentifier = BuildConfig.MSA_CLIENT_ID; + opts.clientIdentifier = APPLICATION->getMSAClientID(); opts.authorizationUrl = "https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode"; opts.accessTokenUrl = "https://login.microsoftonline.com/consumers/oauth2/v2.0/token"; |