Questions about Basic Auth Implementation

オープン
#74 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

issue では、調査対象として dash-auth のログインダイアログ、JavaScript による送信、Authorization ヘッダーの処理、クライアント側ストレージを挙げています。まずは dash-auth モジュール内でこれらの経路を追跡してください。貢献を完了したと定義できるようにするには、HTML ログインフォーム、パスワード変更リンク、およびサーバー側のサポートが必要かどうかについて、あらかじめスコープを合意する必要があります。

索引モデルが issue の本文から書いたものです。

説明

I am using dash-auth (Basic Auth) in my dash app. I want to improve the login experience for the user and want to provide change password etc functionality.

For this, I wanted to convert the login dialog into a simple HTML login form with a link to change password. I tried to reverse engineer and explore the code in dash-auth module but didn't get much luck. Here are my primary questions

  1. Where is the JS code which receives the username and password from login dialog and submit to server ?
  2. Where is the code which sets the Authorization header before every request to the server?
  3. At client side where are we storing the value set in Authorization header ?
  4. Where is the code which renders the dialog for username and password.

Please let me know if anything else I would need in order to implement above use case or if there is a better existing implementation which I can reuse.

Thanks!

主要言語
Python
スター
133
フォーク
67
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

plotly/dash-auth のほかの issue

plotly/dash-auth の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。