I am using Office.js, javascript and react to create excel add-ins. Wants to implement single sign-in flow using ribbon button. Once user successfully sign in then only wants to show task pane to user.
Sign in button present in ribbon.
I do have third party URL like below and if user authenticate successfully it redirect to given application URL. https://google.com?response_type=abc&client_Id=xyz&**redirect_uri=https://application-url-to-redirect**
Above URL opens username/password window and upon providing valid details its redirect user to application URL and then task pane should open.
please help/suggest how can i implement this functionality. Please guide me. Thanks in Advance.