Update IaC to generate multiple app registrations

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
azure

調査の方向性

まず、現在のアプリ登録を作成している Bicep 定義を見つけ、環境と API およびフロントエンドがどのように表現されているかを確認します。インフラストラクチャを更新して、各環境でそれらのコンポーネント用に個別の登録を作成し、生成された構成で API とフロントエンドの関係が分離されたままになっていることを確認します。

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

説明

Describe Problem

Currently, we use the same app registration / client id for the API and the front-end.
Since these two are different clients with different concerns, it is recommended to havve separate app registrations for the different applications / clients.

Some issues that show up when using a single app registration:

  • The API does not need reply urls or the OpenID Connect scopes
  • The front-end is a public client (until #391 is implemented), but the API is a confidential client
  • The API may need additioanl scopes / API-permissions to call different services, which are not intended to be called directly from the front end
Suggest Solution

Create different app registrations (via bicep) for the different components (and environments)

Additional Details
主要言語
TypeScript
スター
106
フォーク
15
平均マージ
1日 4時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

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

equinor/template-fastapi-react のほかの issue

equinor/template-fastapi-react の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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