Currently, I am developing Excel add-ins with Office.js, Javascript, and React. My goal is to integrate a single sign-on process into the ribbon button functionality. The task pane should only be displayed to users after they have successfully signed in.
The sign-in button will be located within the ribbon for easy access.
I have a third-party URL that prompts the user to enter their credentials. Upon successful authentication, the user will be redirected to a specified application URL. Click here
This URL triggers a username/password window for authentication. Once the user enters valid information, they will be directed to the application URL, where the task pane will automatically open.
If anyone has suggestions on how to implement this feature, please assist me. Your guidance is greatly appreciated. Thank you in advance.