QuantumNous / QuantumNous/new-api
将 OIDC 服务发现移动到后端
Open
Nobody has claimed this yet.
bug
stale
- Dominant language
- Go
- Stars
- 48.5k
- Forks
- 11.6k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 58
Description
例行检查
- 我已确认目前没有类似 issue
- 我已确认我已升级到最新版本
- 我已完整查看过项目 README,尤其是常见问题部分
- 我理解并愿意跟进此 issue,协助测试和提供反馈
- 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭
问题描述
现有的 OIDC 服务发现请求位于前端,会受到跨域影响
复现步骤
添加 OIDC 服务商
预期结果
cors missing allow origin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the frontend OIDC service-discovery request and the backend entry point that handles provider configuration; trace how the provider is added and where the cross-origin request fails. Done means discovery runs through the backend and adding an OIDC provider no longer produces a missing CORS allow-origin error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100