Find Jobs
Hire Freelancers

Implementation of 0Auth calendar sync with MongoDB Realm

$10-20 NZD / hour

Geschlossen
Veröffentlicht vor etwa 2 Jahren

$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
Projekt-ID: 33589267

Über das Projekt

6 Vorschläge
Remote Projekt
Aktiv vor 2 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten

Über den Kunden

Flagge von NEW ZEALAND
Whanganui, New Zealand
4,6
31
Zahlungsmethode verifiziert
Mitglied seit Juni 6, 2016

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.