sforkowany z mirror/soapbox
MFA: pass scopes to MFA challenge
rodzic
f675e7992a
commit
15d32c3b83
|
@ -143,6 +143,7 @@ export function otpVerify(code, mfa_token) {
|
||||||
code: code,
|
code: code,
|
||||||
challenge_type: 'totp',
|
challenge_type: 'totp',
|
||||||
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
|
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
|
||||||
|
scope: getScopes(getState()),
|
||||||
}).then(({ data: token }) => dispatch(authLoggedIn(token)));
|
}).then(({ data: token }) => dispatch(authLoggedIn(token)));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue