[GH-ISSUE #2806] id token issued by a different provider #2242

Closed
opened 2026-05-05 13:26:36 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @sunzeteng9 on GitHub (Feb 18, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2806

Bug Description

register control error: invalid OIDC token in login: oidc: id token issued by a different provider, expected "http://127.0.0.1:8086/" got ""

frpc Version

frp_0.39.1_windows_amd64

frps Version

frp_0.39.1_windows_amd64

System Architecture

_windows

Configurations

[common]
bind_port = 7001
server_addr = 127.0.0.1
dashboard_port = 65533

authentication_method = oidc
authenticate_heartbeats = true
oidc_audience = openid
oidc_issuer = http://127.0.0.1:8086/

[common]
server_addr = 127.0.0.1
server_port = 7001

authentication_method = oidc
oidc_client_id = wYqmpgj04puuyPUeRKgK9zP1IYi5X1kG
oidc_client_secret = z2RHeCn1c0hBSVGhfM6jO1kMnRQKGq5cHEu5U4UF
oidc_audience = openid
oidc_token_endpoint_url = http://127.0.0.1:8086/oauth/token

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @sunzeteng9 on GitHub (Feb 18, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2806 ### Bug Description register control error: invalid OIDC token in login: oidc: id token issued by a different provider, expected "http://127.0.0.1:8086/" got "" ### frpc Version frp_0.39.1_windows_amd64 ### frps Version frp_0.39.1_windows_amd64 ### System Architecture _windows ### Configurations [common] bind_port = 7001 server_addr = 127.0.0.1 dashboard_port = 65533 authentication_method = oidc authenticate_heartbeats = true oidc_audience = openid oidc_issuer = http://127.0.0.1:8086/ [common] server_addr = 127.0.0.1 server_port = 7001 authentication_method = oidc oidc_client_id = wYqmpgj04puuyPUeRKgK9zP1IYi5X1kG oidc_client_secret = z2RHeCn1c0hBSVGhfM6jO1kMnRQKGq5cHEu5U4UF oidc_audience = openid oidc_token_endpoint_url = http://127.0.0.1:8086/oauth/token ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:26:36 -06:00
Author
Owner

@blizard863 commented on GitHub (Mar 13, 2022):

  1. 猜测是你的 oidc_issuer = http://127.0.0.1:8086/ 链接有问题,maybe 是一个 oidc_issuer = http://127.0.0.1:8086/xxx/oidc 这样的或者带个其他 path,可以检查下。
  2. 确认你搭建的这个 oidc 服务,是否为 client credentials 的授权方式。 Oauth2.0 支持很多种授权方式。
  3. 方便起见,可以去申请一个 auth0 服务测试跑起来,对理解这块有帮助。

https://github.com/fatedier/frp/issues/2822

<!-- gh-comment-id:1066002202 --> @blizard863 commented on GitHub (Mar 13, 2022): 1. 猜测是你的 oidc_issuer = http://127.0.0.1:8086/ 链接有问题,maybe 是一个 oidc_issuer = http://127.0.0.1:8086/xxx/oidc 这样的或者带个其他 path,可以检查下。 2. 确认你搭建的这个 oidc 服务,是否为 client credentials 的授权方式。 Oauth2.0 支持很多种授权方式。 3. 方便起见,可以去申请一个 auth0 服务测试跑起来,对理解这块有帮助。 [https://github.com/fatedier/frp/issues/2822](url)
Author
Owner

@github-actions[bot] commented on GitHub (Apr 13, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1097428129 --> @github-actions[bot] commented on GitHub (Apr 13, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2242
No description provided.