mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-22 00:26:55 -04:00
[PR #304] [MERGED] Add ODIC Back-Channel Logout #299
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Drop-OSS/drop/pull/304
Author: @Huskydog9988
Created: 1/3/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @DecDuck
Base:
develop← Head:oidc-logout📝 Commits (10+)
b7887ecprevent returning expired sessionsba959a7add issuer to ODIC creds1b4c362get id token in ODIC54cdf28make session signin return session9e69ac8working backchannel logout?97e0d12require https for ODIC providerd7abc99handle wellknown not being https026dfe6find session api progress5573a12fix windows builda165088return session token on session📊 Changes
18 files changed (+709 additions, -114 deletions)
View changed files
📝
.prettierignore(+2 -0)📝
eslint.config.mjs(+3 -0)📝
nuxt.config.ts(+8 -7)📝
package.json(+2 -1)📝
pnpm-lock.yaml(+8 -3)📝
pnpm-workspace.yaml(+2 -2)📝
server/api/v1/auth/odic/callback.get.ts(+17 -4)➕
server/api/v1/auth/odic/logout.post.ts(+46 -0)📝
server/api/v1/auth/passkey/finish.post.ts(+3 -1)📝
server/api/v1/auth/signin/simple.post.ts(+8 -11)📝
server/internal/auth/index.ts(+1 -1)📝
server/internal/auth/oidc/index.ts(+283 -48)📝
server/internal/config/sys-conf.ts(+19 -2)📝
server/internal/session/cache.ts(+52 -6)📝
server/internal/session/db.ts(+109 -8)📝
server/internal/session/index.ts(+68 -12)📝
server/internal/session/memory.ts(+47 -6)📝
server/internal/session/types.d.ts(+31 -2)📄 Description
Let an ODIC provider sign out users. Also attempted to make the server more spec compliant by verifying responses and enforcing HTTPS for providers by default.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.