[GH-ISSUE #2121] OIDC 总是会有各种问题 #1686

Closed
opened 2026-05-05 13:04:42 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @lelouch-star on GitHub (Nov 29, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2121

OIDC只是一种协议。我试了几家的Server都没有成功。我查阅了OIDC文档,但是代码中的OIDC验证好像不是和标准完全一致的。比如标准中有个idtoken的东西。代码中取的好像并不是idtoken
能否说下具体的验证 的请求报文和返回报文例子

或者能否直接留个 用户验证接口
配置项1:http/https的验证接口地址 (内定用户名、密码参数名,返回boolean)
配置项2:用户名
配置项3:密码

Originally created by @lelouch-star on GitHub (Nov 29, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2121 OIDC只是一种协议。我试了几家的Server都没有成功。我查阅了OIDC文档,但是代码中的OIDC验证好像不是和标准完全一致的。比如标准中有个idtoken的东西。代码中取的好像并不是idtoken 能否说下具体的验证 的请求报文和返回报文例子 或者能否直接留个 用户验证接口 配置项1:http/https的验证接口地址 (内定用户名、密码参数名,返回boolean) 配置项2:用户名 配置项3:密码
gitea-mirror 2026-05-05 13:04:42 -06:00
Author
Owner

@lelouch-star commented on GitHub (Nov 29, 2020):

签名没问题,jwks_uri接口也配置了
但是却返回了这个报错
invalid OIDC token in login: failed to verify signature: failed to verify id token signature

<!-- gh-comment-id:735410487 --> @lelouch-star commented on GitHub (Nov 29, 2020): 签名没问题,jwks_uri接口也配置了 但是却返回了这个报错 invalid OIDC token in login: failed to verify signature: failed to verify id token signature
Author
Owner

@liyi830 commented on GitHub (Jul 7, 2021):

关注此问题,我也碰到这种情况了。

<!-- gh-comment-id:875212724 --> @liyi830 commented on GitHub (Jul 7, 2021): 关注此问题,我也碰到这种情况了。
Author
Owner

@liyi830 commented on GitHub (Jul 7, 2021):

签名算法提供个例子吧

<!-- gh-comment-id:875214338 --> @liyi830 commented on GitHub (Jul 7, 2021): 签名算法提供个例子吧
Author
Owner

@huanghe-1 commented on GitHub (Dec 14, 2021):

@ripgyxcy 你用的什么OIDC 服务器

<!-- gh-comment-id:993679146 --> @huanghe-1 commented on GitHub (Dec 14, 2021): @ripgyxcy 你用的什么OIDC 服务器
Author
Owner

@imarkofu commented on GitHub (Dec 21, 2021):

关注一下,不知道该如何搭建一个OIDC服务

<!-- gh-comment-id:998588512 --> @imarkofu commented on GitHub (Dec 21, 2021): 关注一下,不知道该如何搭建一个OIDC服务
Author
Owner

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

方便起见,可以去申请 auth0 or 国内的 authing 来验证,都是免费的。

<!-- gh-comment-id:1066002896 --> @blizard863 commented on GitHub (Mar 13, 2022): 方便起见,可以去申请 auth0 or 国内的 authing 来验证,都是免费的。
Author
Owner

@huanghe-1 commented on GitHub (Mar 14, 2022):

frp可以使用authing吗?稳定吗

<!-- gh-comment-id:1066244229 --> @huanghe-1 commented on GitHub (Mar 14, 2022): frp可以使用authing吗?稳定吗
Author
Owner

@github-actions[bot] commented on GitHub (Jan 13, 2023):

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

<!-- gh-comment-id:1381214900 --> @github-actions[bot] commented on GitHub (Jan 13, 2023): 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#1686
No description provided.