MLH-Fellowship / Chamber-of-Secrets

Sprint 2 Project for MLH Fellowship made by Aman Sharma, Suhani Chawla, Saumya Gandhi.
MIT License
9 stars 6 forks source link

One drive Oauth #19

Open suhanichawla opened 3 years ago

suhanichawla commented 3 years ago

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

Related backend issue: https://github.com/MLH-Fellowship/ChamberOfSecrets-Backend/issues/41 oauth