HugoGresse / OpenPlanner

A SaaS to schedule your next event using ConferenceHall & OpenFeedback + API & UI
https://openplanner.fr
MIT License
12 stars 3 forks source link

"Error: Missing or insufficient permissions" when importing from Conference-Hall.io #142

Closed xavier-calland closed 3 weeks ago

xavier-calland commented 4 weeks ago

I'm trying to create an event from Conference-Hall, but it seems there is a problem with the new version of Conference-Hall.

In my current browser (with authentication already done) I have these messages image

When I try in a new browser (or in a private window) the authentication fails. I see this message in the dev tools :

Le chargement de « https://conference-hall.io/__/auth/iframe?apiKey=AIzaSyDUwnLLhkdc61ar-gGXXnaWvWMJfP7yR7s&appName=conference-hall&v=10.10.0&eid=p&usegapi=1&jsh=m%3B%2F_%2Fscs%2Fabc-static%2F_%2Fjs%2Fk%3Dgapi.lb.fr.MtA0XocprA0.O%2Fam%3DAAAg%2Fd%3D1%2Frs%3DAHpOoo90Qw_OxY6asHlYoeK8rr6SbH-ghg%2Fm%3D__features__#id=I0_1724141606239&_gfid=I0_1724141606239&parent=https%3A%2F%2Fopenplanner.fr&pfname=&rpctoken=14661776 » dans un cadre est refusé par la directive « X-Frame-Options » définie à « sameorigin ».

xavier-calland commented 4 weeks ago

Concerning the message "Missing or insufficient permissions", as I understand the code (I'm not a Firebase/Firestore expert), the problem may come from this configuration. The values may be invalid with the new version of conference-hall.

https://github.com/HugoGresse/OpenPlanner/blob/03a28ed10f489f8c20bd866daa3d3b9476c70362/src/conferencehall/firebase/conferenceHallFirebase.ts#L4-L8

HugoGresse commented 4 weeks ago

Hi Xavier, sorry for the delay, I'm OOO. ConferenceHall new version has a whole new backend, without Firebase/Firestore. I've started some preliminary work to support incoming webhook for ConferenceHall to push data into OpenPlanner, but it's not ready yet, see https://github.com/HugoGresse/OpenPlanner/pull/139

HugoGresse commented 4 weeks ago

So the current todo would be to:

xavier-calland commented 4 weeks ago

👌 no problem

I think this year I'll have to create sessions and speakers for DevFest Dijon manually 🙂 As said, I'm not completely comfortable with the stack in place. However, if there are any simple changes, I can always look into it. Feel free to let me know.

HugoGresse commented 4 weeks ago

I'll try to finish up a first version of the api this week so you can at least import all talks and speakers in batch