Find Jobs
Hire Freelancers

Implementation of 0Auth calendar sync with MongoDB Realm

$10-20 NZD / hour

Avslutat
Publicerad ungefär två år sedan

$10-20 NZD / hour

We’re implementing a google and outlook calendar syncing solution for Ionic React and MongoDB - we’ve got to the point where data is fetched from the google calendar API, however the Oauth link is not currently working for more than one user however, As of right now, the Oauth Authentication system is flawed. The current flow is as follows: The user makes a request to the HTTPS endpoint defined in the realm cloud console (/authorizer) The endpoint makes an OAuth request to the Google servers to obtain the access code (this displays the google sign-in page to the user for them to allow access to their Google account) The Google server redirects back to the same HTTPS endpoint with the access code to request an access and refresh token At this point, the initial realm user details passed through the first request are no longer existent, as we cannot control the data passed back through googles redirect URI Mongo stores the access token in the database with no associated user (we need to assign this to a user) What we require is: The user makes a request to the HTTPS endpoint (or a function) The endpoint makes a request to the server to obtain the access code, and a pop up is displayed to the user to enter their google details The access code is transmitted to the HTTPS endpoint with the Realm users details The endpoint requests tokens from google and stores them in the database along with the Realm users ID This comes with a few speed bumps: An app CANNOT use the ionic built in browser, as this exposes certain security risks and is not allowed by apple or google The same endpoint CANNOT be used for both the access code and the token request, as the realm user data is lost in the process. Either the access code must be obtained within the app itself, or the realm user data must persist between obtaining the access code and making the token request
Project ID: 33589267

Om projektet

6 anbud
Distansprojekt
Senaste aktivitet två år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag

Om kunden

Flagga för NEW ZEALAND
Whanganui, New Zealand
4,6
31
Verifierad betalningsmetod
Medlem sedan juni 6, 2016

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.