Skip to content

feat: sync bans with kf-auth#3627

Open
tefkah wants to merge 1 commit into
mainfrom
tfk/sync-bans
Open

feat: sync bans with kf-auth#3627
tefkah wants to merge 1 commit into
mainfrom
tfk/sync-bans

Conversation

@tefkah
Copy link
Copy Markdown
Member

@tefkah tefkah commented Jun 1, 2026

Issue(s) Resolved

Currently you can ban a user or revoke their in KF-Auth, but this still keeps people signed into pubpub. This shouldnt happen.

This implements the slightly different webhooks tructure from (https://github.com/knowledgefutures/kf-auth/pull/12)

Listens on /api/kf/webhooks rather than /api/kf/profile-sync

This does uncover a different isuse, namely that it's very tricky to be sure that sessions on KF Auth are somewhat in sync with PubPub (eg in case of a ban, but also others).

I will propose a follow up for this in a sec

Test Plan

Screenshots (if applicable)

Optional

Notes/Context/Gotchas

Supporting Docs

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

Successfully merging this pull request may close these issues.

1 participant