[PR #2802] [CLOSED] Add audience to token generator #4628

Closed
opened 2026-05-05 14:45:40 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2802
Author: @addisonj
Created: 2/16/2022
Status: Closed

Base: devHead: oidc_token_gen


📝 Commits (1)

  • 4ac3d7e Add audience to token generator

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 pkg/auth/oidc.go (+3 -0)

📄 Description

Certain implementations of oauth2, such as auth0, require the audience
parameter to be send to the token generation endpoint.

This commit adds an additional parameter to, by default, send the
audience parameter.

This should be be broadly compatible and ignored by other
implementations. Otherwise, we can consider an additional configuration
option


🔄 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/fatedier/frp/pull/2802 **Author:** [@addisonj](https://github.com/addisonj) **Created:** 2/16/2022 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `oidc_token_gen` --- ### 📝 Commits (1) - [`4ac3d7e`](https://github.com/fatedier/frp/commit/4ac3d7e568a867b0666744df6087f2ee050d41b5) Add audience to token generator ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/auth/oidc.go` (+3 -0) </details> ### 📄 Description Certain implementations of oauth2, such as auth0, require the audience parameter to be send to the token generation endpoint. This commit adds an additional parameter to, by default, send the audience parameter. This should be be broadly compatible and ignored by other implementations. Otherwise, we can consider an additional configuration option --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:45:40 -06:00
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: github-starred/frp#4628
No description provided.