I am building a Public Web App (react, typescript, firebase firestore) in which users can manage events of ther groups. A group can have any number of members, which can all log in to the page to see their next events. I want to dynamically create a calendar-file (.ics / ical) for each individual member so they can add it to their personal calendars via CalDAV. But these files need to be private. A CalDav app, like Apple Calendar or Google Calendar should provide the login information for firebase, so that only with the right credentials a user can see his calendar.
Is that possible? I'm open for any kind of suggestion no matter what technology, framework or even third-party option.
Thank you!