diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 20:20:51 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 21:27:32 +0100 |
commit | 0854e83ce48cb30b28bd05986970e506c1106e4e (patch) | |
tree | 96c708b11b854a9eaffd59f80faece8f9366ca66 /launcher/minecraft/auth/steps | |
parent | bb02226870a21c08ec534295ea0dcb8dd4c542cf (diff) | |
download | PrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.tar.gz PrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.tar.bz2 PrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.zip |
feat: implement MSA client id override
Closes #11
Diffstat (limited to 'launcher/minecraft/auth/steps')
-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"; |