bug: Registering redirect_uris via the clients UI fails (needed to register OAuth callbacks)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- html, python
調査の方向性
Start with parse_uri_list in apps/admin/init.py (around line 46) and the clients create/edit form handling, then reproduce by submitting a redirect_uris value through the form locally. The exact error message is not attached yet, so ask for it or check server logs first. Done when a redirect URI can be saved through the form and the auth service's GET /authorize accepts it for that client.
索引モデルが issue の本文から書いたものです。
説明
What should happen
Per #7 / PR #10, the clients UI exposes redirect_uris fields in the create/edit forms, so an admin can register an OAuth callback URI for a client through the web interface.
What happens instead
Reported 2026-10-09: attempting to register a redirect URI through the deployed UI (campus-admin.up.railway.app, development environment) does not succeed. Exact error message to be attached — reporting on behalf of a user who hit it in the browser.
Concrete case that needs it
Client uid-client-cd3ef100-afe (nyxchange-timetable-v2, development env) needs this callback registered:
https://nyxchange-timetable-v2-development.up.railway.app/finalize_login
The auth service's GET /authorize enforces exact-match redirect_uri validation (campus#651), so until it is registered, the app's entire sign-in flow fails with:
400 AUTH_INVALID_REQUEST: redirect_uri 'https://nyxchange-timetable-v2-development.up.railway.app/finalize_login'
is not registered for client 'uid-client-cd3ef100-afe'
What has been verified (so it's not these)
- The development deployment is current: latest deployment
fc91eaa0(2026-10-08) includes PR #10 (merged 2026-10-01) — the forms are in the deployed code. - The edit path's known blocker, campus-api-python#50 (
Clients.update()sent PUT against a PATCH-only route → 405 on every client update) was closed 2026-09-30, before the dependency relock in campus-admin PR #21 (2026-10-07).
Worth checking
parse_uri_listnormalization of the TEXT-column serialization (apps/admin/__init__.py~46) when the auth API returnsredirect_urisas a JSON string rather than a list — could break rendering of the clients page or the edit form's initial values.- Server-side logs at the moment the edit form is submitted.
Workaround in the meantime
campus client update --client-id <id> --redirect-uri <uri> [--redirect-uri <existing> ...]
(note: --redirect-uri replaces the full list, so existing URIs must be re-supplied)
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 13分
- マージ済み PR(30日)
- 62
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nyjc-computing/campus-admin のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
nyjc-computing/campus-admin#105 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nyjc-computing/campus-admin#96 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nyjc-computing/campus-admin#16 ·
メンテナーはふだん 1 日以内に返信
-
ops: replace the Procfile with a platform-side startCommand override (Railpack deprecates Procfiles)オープンchore
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
nyjc-computing/campus-admin#100 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
nyjc-computing/campus-admin#83 ·
メンテナーはふだん 1 日以内に返信
nyjc-computing/campus-admin の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 73/100
-
day_or=True union silently becomes the ISC cron AND bug when a day field expands to its full range (e.g. '0 0 */1 * */2' fires only Sun/Tue/Thu/Sat)対応中かも @rahul05ranjan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pallets-eco/croniter#309 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/Gitcord-GithubDiscordBot#248 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[Bug]: MLX text downloads omit the requested Hub token and cache directory対応中かも @abhijithneilabraham が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/vllm-metal#1423 ·
メンテナーはふだん 1 日以内に返信