I'm building a SPFX webpart that perform some sensitive operation when a button is clicked (document approbation for example).

Is there any way to ask the user to reauthenticate to "sign" the action ?

The user flow is similar to the account security behavior. When you want to check/change your security options, you are forced to reauthenticate.

Using MSAL, we may trigger a new account prompt but using SFPX, is it possible without loosing the initial context?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.