401 unauthorized error when trying to export to Github from Popcode
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github, javascript
調査の方向性
まず Export Repo フローを再現します。リンクされた GitHub アカウントでログインし、Export Repo を選択して、https://api.github.com/user/repos への POST リクエストを調査します。そのリクエストに使用されるリンクされたアカウントの認証情報を追跡し、完了したフローによってリポジトリが作成され、ユーザーが GitHub にリダイレクトされることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
A clear and concise description of what the bug is.
When you click on the "Export Repo" button, the call POST https://api.github.com/user/repos produces a 401 unauthorized error. This leads to the repo not being created for the person on Github.
To Reproduce
Steps to reproduce the behavior:
- Login to an account with Github Linked
- Click the arrow to the right of "Create Snapshot"
- Click "Export Repo" option in the dropdown list
- See the error
Expected behavior
A clear and concise description of what you expected to happen.
After clicking "Export Repo" a repo should be created with the PopCode code and a user should be taken to the Github page.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Additional context
This might be a global PopCode issue, which means the Unit 9 project where students export to Github might be stalled if it is not fixed.
- 主要言語
- JavaScript
- スター
- 191
- フォーク
- 143
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 5
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
popcodeorg/popcode のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
popcodeorg/popcode#2522 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
popcodeorg/popcode#2519 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
popcodeorg/popcode#2517 ·
-
User Feedback オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
popcodeorg/popcode#2516 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
popcodeorg/popcode#2515 · コメント 1 件 ·
popcodeorg/popcode の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bevyengine/bevy-website#2595 ·