Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#435 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ory/network 的其他 Issue

查看 ory/network 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。