Storage: Non OIDC users have to reload storage

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

メンテナーはふだん 2 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start by tracing the storage connection form action and how it creates a local-user session when OIDC is off. Follow the activation request to see why it uses the original headers without the newly issued session cookie. Done means a non-OIDC user can save and activate a storage connection in one submission without reloading.

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

説明

When a user in a non OIDC environment sets up a storage connection he gets the following error message:
The connection was saved but could not be activated. Reload the page and select it from the saved connections.

With OIDC off, if a browser submitted the connect form without a valid session cookie, the server created a new local-user session during that same request, but its cookie only went out with the response. The action then tried to activate the saved connection using the original request headers, which had no session cookie, so better-auth returned 401 and the user got "saved but could not be activated".

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
2日 16時間
マージ済み PR(30日)
39

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

stackabletech/cockpit のほかの issue

stackabletech/cockpit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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