From 15d32c3b83c58e578b4960b30bd548e63f3621b3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 12 Jan 2022 12:40:40 -0600 Subject: [PATCH] MFA: pass scopes to MFA challenge --- app/soapbox/actions/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/actions/auth.js b/app/soapbox/actions/auth.js index 82c4e0969..5274a98cf 100644 --- a/app/soapbox/actions/auth.js +++ b/app/soapbox/actions/auth.js @@ -143,6 +143,7 @@ export function otpVerify(code, mfa_token) { code: code, challenge_type: 'totp', redirect_uri: 'urn:ietf:wg:oauth:2.0:oob', + scope: getScopes(getState()), }).then(({ data: token }) => dispatch(authLoggedIn(token))); }; }