Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Apr 15, 2025

Sabre plugins from info.xml are loaded only after auth has taken place,
this is too late for user_saml. So this goes back to using an event,
but uses the modern typed version.

@come-nc come-nc self-assigned this Apr 15, 2025
@come-nc come-nc requested a review from blizzz as a code owner April 15, 2025 14:53
Sabre plugins from info.xml are loaded only after auth has taken place,
 this is too late for user_saml. So this goes back to using an event,
 but uses the modern typed version.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/fix-sabre-plugin-registering branch from 69f3225 to 4c58743 Compare April 15, 2025 15:09
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
Copy link
Contributor Author

come-nc commented Apr 15, 2025

https://github.com/nextcloud/server/actions/runs/14472621054/job/40592798421

Not fixed yet it seems.
Maybe we should add the same tests to the CI here.

come-nc added 2 commits April 15, 2025 17:53
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
Copy link
Contributor Author

come-nc commented Apr 15, 2025

It’s a mistery to me why we are not listening to SabrePluginAuthInitEvent instead, but as this is complicated enough, for now listening to the same event as before to make sure it does not break anything.
SabrePluginAuthInitEvent is not emitted in all the same places so I won’t take the risk to change.

@come-nc
Copy link
Contributor Author

come-nc commented Apr 15, 2025

@blizzz
Copy link
Member

blizzz commented Apr 15, 2025

Thanks @come-nc 🙇

@come-nc come-nc merged commit b4d91bc into master Apr 15, 2025
52 checks passed
@come-nc come-nc deleted the fix/fix-sabre-plugin-registering branch April 15, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants