pulsejet / nextcloud-oidc-login

Nextcloud login via a single OpenID Connect 1.0 provider
https://apps.nextcloud.com/apps/oidc_login
GNU Affero General Public License v3.0
234 stars 63 forks source link

Problem with invited people for an event wanting to validate #166

Open quenenni opened 2 years ago

quenenni commented 2 years ago

Hello,

I'm having troubles with invitations from calendar events when I invite other people. They receive the mail but when they click on the accept or decline link in the mail, they are sent to the web browser but with an error.

I wrote a ticket in the agenda plugin of Nextcloud, but I have a feeling it could come from the oidc plugin that should have few paths where the authorization is not required, like validating an invitation from an event.

Can I ask you to check my report and see if that doesn't make you thing of something: https://github.com/nextcloud/calendar/issues/3969

Thanks

sirkrypt0 commented 2 years ago

Hi :wave:

I just tried the following:

  1. Created a new event in the calendar app.
  2. Added an external attendee to the event by inserting their mail address.
  3. Click on Accept in the received mail.

Which results in Your attendance was updated successfully. for me. I tried to open the link in a private browser session as well as the session in which I created the event in. In both cases I don't receive any error.

I noticed that you use slightly outdated version of the calendar (3.0.2 instead of 3.0.6) and this plugin (2.1.0 instead of 2.2.0). Even though I couldn't spot any fixes in these releases that should be related to your issue, have you tried upgrading both to the newest version to see if that fixes the issue?

Maybe @azmeuk can reproduce this. On my instance at least, it seems to work fine.

quenenni commented 2 years ago

Thanks a lot for your tests.

I'll update tonight the apps and see if it resolve anything.

The most difficult part is that I don't have an error anywhere (except that going to the link is catched by the IDP (SSO)). I don't know where to look.

Can I ask you what IDP you are using? Keycloak / LemonLdap / ... and if you had to configure specific accesses for this?

azmeuk commented 2 years ago

Hello @quenenni I just tested and I cannot reproduce your issue. Mails are correctly received, and opening the accept link in a private tab validates the participation correctly. Did the update of you apps solved something?