Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add flag to relay entered username as login_hint to organization's SSO provider

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
node.js

調査の方向性

まず、issue に記載されている Node SDK または直接 REST フローを通じて、self-service/login/browser のエントリーポイントをたどります。入力されたメールアドレスが login_hint として組織の OIDC authorize エンドポイントに到達する仕組みを特定し、そのうえで flag が opt-in であること、および結果のリダイレクトにエンコードされた値が含まれていることを確認します。

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

説明

feat
Preflight checklist
Ory Network Project

https://affectionate-colden-9xniyqn54r.projects.oryapis.com

Describe your problem

Using Ory default UI, we are unable to instruct the Ory flow to relay the entered email as a login_hint to an organization's login page (okta, entra, etc). In some cases, this requires the user to enter their email twice to login - once at the Ory login page, and again at their organization's login page.

Describe your ideal solution

When our code starts the Ory login flow, it would be nice to have a way to instruct the Ory flow to relay the entered email as a login_hint, such as via querystring param.

ex: redirect .../self-service/login/browser?...&relay_login_hint=true

Under the hood, this would start a flow that eventually appends &login_hint=example%40example.com to the organization's authorize endpoint, thus populating the appropriate field in the resulting UI.

After user submits Ory login page and chooses OIDC connection (ex okta), redirect results in:
https://{domain}.okta.com/oauth2/v1/authorize?...login_hint=example%40example.com

Workarounds or alternatives

No alternative at the moment using Ory default UI. The only workaround is for us to go back and implement a fully custom UI, where it seems we can post upstream params to the login flow.

Version

node sdk 1.15.10, with some direct REST API calls

Additional Context

No response

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

環境構築

はじめの一歩

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

ory/network のほかの issue

ory/network の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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