[Request] Support login via GitHub authentication provider

未關閉
#37 0 則留言 11 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
typescript, vscode

研究方向

從連結的 VS Code v1.48 Authentication Provider API 詳細資訊以及擴充功能現有的 Email/Password 登入流程開始。完成意味著在不移除現有登入的情況下新增 GitHub 驗證,並使用 provider 機制儲存憑證。該 issue 未指定檔案或測試,因此第一步是定位這些進入點。

由索引模型根據 Issue 內容生成。

描述

Since VSCode v1.48 it is possible to use existing accounts to authenticate your extension. Microsoft & GitHub account providers are generally available for all users.

See more details: https://code.visualstudio.com/updates/v1_48#_using-authentication-providers

Since hackmd.io supports login via GitHub it would be fitting to avail the same in this extension.

However this request does not mean to completely remove/replace the existing Email/Password login.

PS: My reason for this request is that I want to use this extension but do not want to enter email/password while the VSCode's Authentication Provider API seems to be using the underlying OS's method of choice to store/retrieve credentials which in most cases is more secure by default.

主要語言
TypeScript
星號
177
分支
20
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

hackmdio/vscode-hackmd 的其他 Issue

查看 hackmdio/vscode-hackmd 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。