Create the UI for authenticating with onedrive. Here on this page, add an icon to authenticate with one drive (along with gdrive and dropbox), clicking on on drive icon should trigger server side oauth flow for one drive, and give the user a token, this token needs to be entered in the textbox and submission of this token will send a post request to /authenticate/onedrive with the body containing a "code" parameter. Once a successful authentication message is received, user moves to next screen (if all gdrive, one drive and dropbox are successfully authenticated).
Refer to gdrive and dropbox process in Oauth.js in src folder
https://github.com/MLH-Fellowship/Chamber-of-Secrets/blob/main/src/components/Oauth.js
Create the UI for authenticating with onedrive. Here on this page, add an icon to authenticate with one drive (along with gdrive and dropbox), clicking on on drive icon should trigger server side oauth flow for one drive, and give the user a token, this token needs to be entered in the textbox and submission of this token will send a post request to /authenticate/onedrive with the body containing a "code" parameter. Once a successful authentication message is received, user moves to next screen (if all gdrive, one drive and dropbox are successfully authenticated). Refer to gdrive and dropbox process in
Oauth.js
insrc
folder https://github.com/MLH-Fellowship/Chamber-of-Secrets/blob/main/src/components/Oauth.jsRelated backend issue: https://github.com/MLH-Fellowship/ChamberOfSecrets-Backend/issues/41