I am looking for someone experienced in integrating Google APIs, particularly the Google Calendar API, with Python Django apps.
I am currently working on a Python Django app that needs to read users' agendas. Users will connect to the app by logging in with their Google accounts, after which the app will request access to their Google Calendar.
I found a GitHub repository that does something similar but uses a Django API instead of a Django app (https://github.com/rohit1kumar/google-calender). I adapted this code and added a simple vanilla JavaScript front end (https://github.com/JoanAkibode/Django_Google_Calendar_Integreation/tree/main), but it's not working correctly. Most of the time, when I try to connect with my Google account, I encounter the following error message: "error": "(mismatching_state) CSRF Warning! State not equal in request and response." I can't figure out the cause of this issue.
You will find a video attached showing the error I encountered while trying to connect to the app.
Your Mission:
Identify and fix the error in my code so that the connection between the Django app and Google Calendar is reliable.
Teach me why it didn’t work and what to look for if I encounter this error again in the future.
Location: Anywhere
Posted: Sept. 22, 2024, 5:56 a.m.
Apply Now Company Website