[PR #2201] feat: add env variable for oidc scopes #2116

Open
opened 2026-02-26 20:32:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2201
Author: @Nevercold
Created: 11/15/2025
Status: 🔄 Open

Base: mainHead: feat/oidc-scopes


📝 Commits (2)

  • bf4fc17 feat: add env variable for oidc scopes
  • 32a2767 feat: example env

📊 Changes

4 files changed (+4 additions, -1 deletions)

View changed files

📝 .env.example (+1 -0)
📝 packages/auth/server/config.ts (+1 -1)
📝 packages/tsconfig/process-env.d.ts (+1 -0)
📝 turbo.json (+1 -0)

📄 Description

Description

I noticed that where I set up OIDC, you can't change the scopes.
I then saw in the code that they are simply hardcoded.

Changes Made

I added a variable that accepts the scopes.
The default value remains the same as before, so other systems will not be affected.

Testing Performed

I started it locally and logged in.

Checklist

  • I have tested these changes locally and they work as expected.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

🔄 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/documenso/documenso/pull/2201 **Author:** [@Nevercold](https://github.com/Nevercold) **Created:** 11/15/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/oidc-scopes` --- ### 📝 Commits (2) - [`bf4fc17`](https://github.com/documenso/documenso/commit/bf4fc177e0560a7026d20247582d3c18eba41012) feat: add env variable for oidc scopes - [`32a2767`](https://github.com/documenso/documenso/commit/32a27672c53ce02d5f07c3a501c3a5d64a2401dd) feat: example env ### 📊 Changes **4 files changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+1 -0) 📝 `packages/auth/server/config.ts` (+1 -1) 📝 `packages/tsconfig/process-env.d.ts` (+1 -0) 📝 `turbo.json` (+1 -0) </details> ### 📄 Description ## Description I noticed that where I set up OIDC, you can't change the scopes. I then saw in the code that they are simply hardcoded. ## Changes Made I added a variable that accepts the scopes. The default value remains the same as before, so other systems will not be affected. ## Testing Performed I started it locally and logged in. ## Checklist - [x] I have tested these changes locally and they work as expected. - [x] I have followed the project's coding style guidelines. - [x] I have addressed the code review feedback from the previous submission, if applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2116
No description provided.