[PR #6737] feat(oidc): provide better logging and output for the user when oidc attempt is made #4928

Open
opened 2025-10-01 16:40:51 -05:00 by giteasync · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TriliumNext/Trilium/pull/6737
Author: @perfectra1n
Created: 8/21/2025
Status: 🔄 Open

Base: mainHead: feat/resolve-authentik-oidc-issue


📝 Commits (7)

  • 23d7229 feat(oidc): perhaps this will provide better logging and output for the user
  • f3c32af feat(oidc): provide better logging and output for the user
  • 527d5b6 feat(oidc): provide better logging and output for the user
  • d0b5826 feat(oidc): add lots of more logging and guardrails
  • 8f9b566 feat(oidc): try to provide better logging output for oidc issues/errors
  • c1961db feat(oidc): even more logging and output
  • e160f9a feat(oidc): add even more logging, and try to add some more useful catches?

📊 Changes

4 files changed (+1753 additions, -25 deletions)

View changed files

📝 apps/server/src/app.ts (+74 -1)
📝 apps/server/src/services/encryption/open_id_encryption.ts (+11 -9)
apps/server/src/services/open_id.spec.ts (+845 -0)
📝 apps/server/src/services/open_id.ts (+823 -15)

📄 Description

Try to add some more logging (and tests) to try and help resolving #6444


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TriliumNext/Trilium/pull/6737 **Author:** [@perfectra1n](https://github.com/perfectra1n) **Created:** 8/21/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/resolve-authentik-oidc-issue` --- ### 📝 Commits (7) - [`23d7229`](https://github.com/TriliumNext/Trilium/commit/23d72295dadb1900905d93ba4b58d8add1ce1db9) feat(oidc): perhaps this will provide better logging and output for the user - [`f3c32af`](https://github.com/TriliumNext/Trilium/commit/f3c32af1e3e212c686ec9a3a8caa6c7a8222b04b) feat(oidc): provide better logging and output for the user - [`527d5b6`](https://github.com/TriliumNext/Trilium/commit/527d5b6026efd865eee4017cddd776f09c63826b) feat(oidc): provide better logging and output for the user - [`d0b5826`](https://github.com/TriliumNext/Trilium/commit/d0b5826dcc3bfb15b9025d5c20ca6e3d00402107) feat(oidc): add lots of more logging and guardrails - [`8f9b566`](https://github.com/TriliumNext/Trilium/commit/8f9b566f4094b62121ec743089dd868bdfedc18c) feat(oidc): try to provide better logging output for oidc issues/errors - [`c1961db`](https://github.com/TriliumNext/Trilium/commit/c1961db14ec090ba0721914f76fdf13824a11d77) feat(oidc): even more logging and output - [`e160f9a`](https://github.com/TriliumNext/Trilium/commit/e160f9a4cb602a9512d05c2dc9599e8b5044906c) feat(oidc): add even more logging, and try to add some more useful catches? ### 📊 Changes **4 files changed** (+1753 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `apps/server/src/app.ts` (+74 -1) 📝 `apps/server/src/services/encryption/open_id_encryption.ts` (+11 -9) ➕ `apps/server/src/services/open_id.spec.ts` (+845 -0) 📝 `apps/server/src/services/open_id.ts` (+823 -15) </details> ### 📄 Description Try to add some more logging (and tests) to try and help resolving #6444 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
giteasync added the
pull-request
label 2025-10-01 16:40:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TriliumNext/Trilium#4928
No description provided.