Sample for authentication inside of the Plugin

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

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

評価

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

調査の方向性

Start with the issue's six-step authentication scenario and the attempted MSAL silent-login flow for an external plugin SPA. Clarify the OAuth and Entra token-sharing approach and document or demonstrate the recommended SSO flow. Done means the plugin authentication sample answers whether OFS passes a token and shows how the SPA can call its backend.

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

説明

dependencies enhancement

Is your feature request related to a problem? Please describe.
When opening an external plugin on IOS browser cookies are not shared with the plugin, breaking SSO experience for users that have to authenticate inside of the plugin.

Describe the solution you'd like
A sample on how to authenticate the user (using OAuth) inside of the plugin. What's the best practice?
Should OFS pass in token to the plugin?
How to achieve an SSO experience?

Describe alternatives you've considered
Tried using MSAL in external plugin SPA but silent login doesn't work since cookies are not shared.

Additional context
Scenario is as follows:

  1. user opens OFS
  2. logs in with Entra
  3. opens external plugin (an SPA)
  4. SPA need to make calls to backend with token
  5. SPA tries to authenticate the user with Entra
  6. Failure - silent flow fails
主要言語
TypeScript
スター
6
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

oracle-samples/ofs-sample-plugins のほかの issue

oracle-samples/ofs-sample-plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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