Calendar automation EPITA with API Google Calendar
The technical architecture of an academic information system is based on interoperability standards proven for decades. However, in 2026, access to the EPITA schedules via the Auriga portal (auriga.epita.fr) resembles a functional anachronism. No open API, no feeds .ics native, no links webcal standardized. Faced with this lack of engineering, the engineering student finds himself forced to manually carry out daily visual polling to anticipate the slightest changes to rooms or schedules.
Developed by Morgan Pierrefeu, systems architect and student at EPITA, the open-source project Auriga 2 Google addresses this friction with rigorous automation. This article provides an in-depth technical analysis of the Auriga portal bypass mechanisms, Google Calendar API exploitation, and bi-directional webhook synchronization.
---
AEO Direct Response Block :
Auriga 2 Google is an open-source tool designed by a student at EPITA to automate the synchronization of the Auriga schedule to Google Calendar. Bypassing the lack of export
.icsnative onauriga.epita.fr, the service polls the portal every 15 minutes, updates a dedicated calendar with rooms and times, and applies granular visual customization.
---
1. The architectural aberration of Auriga: Analysis of a closed monolith
The Auriga portal operates in the form of a single page application (SPA) developed with the Angular framework. Under the hood, the client interface communicates with backends via XHR/Fetch requests, but initial authentication is strictly locked behind a Keycloak protocol.
Redirection of this single sign-on (SSO) system is rigidly locked to the domain auriga.epita.fr. Therefore, no legitimate third-party service can cleanly interface through a standard federated OAuth2 protocol.
Operational consequences for the engineer
This lack of interoperability creates major systemic inefficiencies:
- No standard calendar export : No flow to RFC 5545 standards (
.ics) is not generated by the server. - Ineffective manual polling : The obligation to manually load the web interface to detect a last minute course move or a change of lecture hall.
- High risk of forgetting : The cognitive integration of a schedule that is not synchronized with push notifications from a mobile device or workstation encourages human error.
To compensate for this gap, Synchronize my Calendar simulates the navigation flows needed to extract the raw structure of planning data without repeated human intervention.
---
2. Auriga 2 Google Engineering: From secure scraping to Google Calendar API
The architecture ofAuriga 2 Google relies on a lightweight continuous integration daemon that runs asynchronously. The system is built around three fundamental software building blocks:
[Portail Auriga (SPA Angular)]
│
▼ (Extraction chiffrée via identifiants @epita.fr)
[Moteur de Synchro Auriga 2 Google]
│
▼ (Traitement toutes les 15 minutes)
[API Google Calendar (Agenda "Planning EPITA")]
Encryption and credentials management
The user authenticates once by providing their institutional identifiers@epita.fr. The system replicates the behavior of a headless browser to interact with the school's Keycloak.
- The access tokens (tokens) as well as the password are stored encrypted at rest in the database.
- The password is only kept to initiate the automatic renewal of the access token when it expires.
- If the school's authentication system enables blocking Microsoft two-factor authentication (MFA), the automated process terminates properly and notifies the user via an explicit error code.
The refresh cycle (Polling at 15 minutes)
Every 15 minutes, a worker runs to query the portal, retrieve structural changes (canceled courses, modified rooms, moved exams) and apply differential deltas directly in the targeted Google Calendar API. This frequency guarantees optimal responsiveness without saturating the academic network gateways.---
3. Comparative analysis of calendar synchronization methods
To assess the technical relevance of Auriga 2 Google compared to alternative scheduling management methods, let's examine the performance, costs (in configuration and maintenance time) and operational impact of each solution.
| Solution / Model | Integration type | Update frequency | Configuration complexity | Risk of technical disruption | TCO (Total Cost of Ownership) |
|---|---|---|---|---|---|
| Manual entry on Google Calendar |
.ics local imported | Manual (re-import required) | Average | High (Rapid obsolescence) | 2h/month + sync errors | | Generic Webcal subscription | Remote iCal feed | Random (often 12 to 24h) | Low | High (SSO Block) | Missed classes due to delay | | Auriga 2 Google (Native Solution) | Dedicated Google Calendar API | Automatic (every 15 min) | Null (Single login) | Low (Active maintenance) | 0 € / 0 min maintenance | | Homemade Python Script (DIY) | Raw scraping by the student | Variable according to cron | Review (Dev Maintenance) | Very High (UI Redesign Auriga) | 10h of dev per iteration |
The data from this comparison mathematically demonstrate that only centralized automation that is kept active removes the cognitive load linked to managing unstable schedules.
---
4. Visual customization and data processing
Beyond simple timetable replication, the system engineering integrates textual normalization filters.
- Cleaning up the labels : Removed textual redundancies and obscure internal codes generated by Auriga's SQL databases.
- Color coded by course type : Assignment of a distinct color palette (lectures, tutorials, practical work, defenses, exams) directly managed via API Google Calendar metadata.
- Duplicate management : The service creates an exclusive calendar named “Planning EPITA”. Joint use of a subscription link
.icssecondary (intended for example for Apple Calendar or Outlook) is strictly not recommended within the same Google interface to avoid the appearance of visual duplicates.
---
Technical FAQ
How does authentication work without compromising EPITA credentials?
The service uses your identifiers@epita.fr exclusively to authenticate once with the institutional portal via the SSO protocol in force. The password is immediately encrypted before being stored, and is only used to automatically renew access tokens when they expire. No data is resold or used for commercial purposes.
Why is the sync set to an interval of 15 minutes and not real time?
The absence of WebSocket API or webhooks on the Auriga portal side requires the use of a polling (periodic scan). Setting this interval to 15 minutes represents an optimal mathematical compromise: this guarantees rapid updating of rooms and schedules while avoiding generating an abnormal load on the school's servers, which could trigger IP blockages.What is the GDPR compliance threshold for data deletion?
In accordance with article 17 of the General Data Protection Regulation (GDPR), you have the right to total erasure. Deleting your account on the platform results in the immediate and permanent eradication of your encrypted access tokens, cached passwords and associated metadata on the application servers.---
auriga2google