[{"data":1,"prerenderedAt":10,"buildId":11},{"public-news:news_f6857b85-58d6-42ac-ac37-6aadbdf49d76":2},{"id":3,"news":4,"error":9},"news_f6857b85-58d6-42ac-ac37-6aadbdf49d76",{"id":3,"title":5,"content":6,"authorName":7,"publishedAt":8},"GitHub 將停用含 URL Fragment 的 OAuth 回呼網址","GitHub 於 2026 年 11 月 30 日公告，2027 年 2 月 1 日起，GitHub.com 將拒絕使用含 URL fragment 的 OAuth 授權要求。此變更適用於 Free、Team 與 Enterprise Cloud，不適用於 GitHub Enterprise Server。\n\n若已註冊的 OAuth App 或 GitHub App 回呼網址包含 #，請檢查該設定。GitHub 目前會在 App 設定顯示警告，使用者登入時也會看到提醒。\n\nOAuth 2.0 規格不允許在 redirect URI 使用 fragment。Fragment 可能在重新導向時暴露 authorization code 或 token。移除 fragment 後，請以實際登入流程核對註冊網址與應用程式 callback 設定。\n\nMokoversity《Codex 資安修補實戰》套裝使用合成 Node.js 專案，練習驗證身分與授權缺陷、修補程式及執行安全回歸。課程不連接 GitHub、GitHub App 或正式 Repository；不涵蓋 GitHub OAuth callback 遷移操作。\n\n查看套裝課綱：\nhttps://www.mokoversity.com/courses/bundles/codex-security-remediation?utm_source=mokoversity&utm_medium=organic_news&utm_campaign=github_oauth_redirect_fragments_202612&utm_content=security_bundle\n\nGitHub 官方公告：\nhttps://github.blog/changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps/","moko365","2026-12-01T00:59:06.962Z","",1796147967521,"70fe80f4-908b-4ce7-aa8c-c518f0181f81"]