mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 09:13:15 +03:00
[PR #747] [MERGED] feat: adds option to OIDC client to require reauthentication #634
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/pocket-id/pocket-id/pull/747
Author: @MorrisMorrison
Created: 7/11/2025
Status: ✅ Merged
Merged: 8/22/2025
Merged by: @stonith404
Base:
main← Head:feat/oidc-client-requires-reauthentication📝 Commits (10+)
9e92b57feat: adds option to require reauthentication for oidc clients to frontend0fe773efix: provides proper translations0b74f2dfeat: adds option to require reauthentication for oidc clients to backend06151bdfeat: execute auth if oidc client is configured as requires reauthenticationed6ad6fMerge remote-tracking branch 'upstream/main' into feat/oidc-client-requires-reauthentication4847d53feat: adds test for enforced reauthenticationbc648a8feat: update translation64673defix: formatting49f4755Merge branch 'main' into feat/oidc-client-requires-reauthentication3bb66deMerge branch 'main' of github.com:pocket-id/pocket-id into feat/oidc-client-requires-reauthentication📊 Changes
22 files changed (+362 additions, -44 deletions)
View changed files
📝
backend/internal/bootstrap/services_bootstrap.go(+5 -6)📝
backend/internal/common/errors.go(+9 -0)📝
backend/internal/controller/webauthn_controller.go(+32 -0)📝
backend/internal/dto/oidc_dto.go(+20 -17)📝
backend/internal/job/db_cleanup_job.go(+15 -0)📝
backend/internal/model/oidc.go(+11 -10)📝
backend/internal/model/webauthn.go(+9 -0)📝
backend/internal/service/oidc_service.go(+14 -0)📝
backend/internal/service/webauthn_service.go(+133 -0)➕
backend/resources/migrations/postgres/20250814121300_requires_reauthentication.down.sql(+2 -0)➕
backend/resources/migrations/postgres/20250814121300_requires_reauthentication.up.sql(+11 -0)➕
backend/resources/migrations/sqlite/20250814121300_requires_reauthentication.down.sql(+3 -0)➕
backend/resources/migrations/sqlite/20250814121300_requires_reauthentication.up.sql(+11 -0)📝
frontend/messages/de.json(+2 -0)📝
frontend/messages/en.json(+2 -0)📝
frontend/src/lib/services/oidc-service.ts(+4 -2)📝
frontend/src/lib/services/webauthn-service.ts(+5 -0)📝
frontend/src/lib/types/oidc.type.ts(+2 -0)📝
frontend/src/routes/authorize/+page.svelte(+29 -5)📝
frontend/src/routes/settings/admin/oidc-clients/[id]/+page.svelte(+8 -4)...and 2 more files
📄 Description
Hi everyone,
this PR adds an option for OIDC Clients to enforce reauthentication.
Changes:
Fixes: #544
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.