Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xavier-calland opened this issue Aug 20, 2024 · 5 comments

Comments

@xavier-calland
Copy link

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
Copy link
Author

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.

const config = {
apiKey: import.meta.env.VITE_FIREBASE_CONFERENCE_HALL_API_KEY,
authDomain: import.meta.env.VITE_FIREBASE_CONFERENCE_HALL_DOMAIN,
projectId: import.meta.env.VITE_FIREBASE_CONFERENCE_HALL_PROJECT_ID,
}

@HugoGresse
Copy link
Owner

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 #139

@HugoGresse
Copy link
Owner

So the current todo would be to:

  • disable all ConferenceHall integration in OpenPlanner ASAP to reflect the current status, linking to this issue
  • finish the API to implement the webhook
  • add a new API method for ConferenceHall with a specific access token reusing the already made feature on the API
  • work on ConferenceHall (I think Benjamin would take care of that) next.

@xavier-calland
Copy link
Author

xavier-calland commented Aug 20, 2024

👌 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
Copy link
Owner

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

@xavier-calland xavier-calland closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants