nodeSolidServer / nodeSolidServer/node-solid-server

Issue a token with Python client

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

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

question
主要言語
JavaScript
スター
1.8k
フォーク
308
PR マージ指標
30日以内にマージされた PR はありません

説明

The issue we like raise is the following.

We like to issue a token with a Python client to SOLID. We managed to get access using a cookie, however, we like to issue a token to get access to our SOLID account.

This issue mentioned two types of authentication, other than cooking: tokens and certificates.
https://github.com/solid/node-solid-server/issues/672

How can we issue a token in Python?

Our code so far:

import requests
import re
login_params = {
    'username': '<user>',
    'password': '<pass>'
}
r       = requests.post('https://<user>.solid.community/login/password',login_params)
str_res = r.text
r.cookies
r       = requests.get('https://<user>.solid.community/inbox/simplepad/index.ttl', cookies=r.cookies)
str_res = r.text
str_res

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、参照されている node-solid-server issue 672 を読み、Python の例に示されているログイン/パスワード endpoint を確認します。Python クライアントでサポートされているトークンまたは証明書のフローを明確にし、Cookie に依存しない再現可能な認証済みリクエストを実行できることを完了条件とします。

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

評価

技術スタック
node.js, python
領域
api, authentication
issue の種類
ドキュメント
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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