Allow multiple user backends when using SSO type "environment-variable"

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
php

调研方向

从 lib/SAMLSettings.php 第 106-110 行附近开始,比较 multiple-user-backend 选项在 "saml" 与 "environment-variable" 中的处理方式。跟踪 environment-variable 的登录流程,找出在哪里选择即时重定向。当该设置对该类型可用,并且启用的用户可以选择 Direct login 或 Login with SSO 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

1. to develop enhancement

Hi,

Our client would like to have the option to enable local (direct) login when using user_saml plugin in "environment-variable" type.

As this piece of code states, the option only exists when using "saml" type:

(https://github.com/nextcloud/user_saml/blob/703993131ee1abc810cb751f54ee868ce1eafaae/lib/SAMLSettings.php#L106-L110)

What we expect

  1. When using "environment-variable" type login, the settings page would give the possibility to select "Allow the use of multiple user back-ends (e.g. LDAP)" like it is already the case for "saml" type.
  2. With this option enabled in the settings, instead of instantly redirecting the user to SSO the login page would present 2 options:
  • Direct login
  • Login with SSO

Kind regards,
Thierry

主要语言
PHP
星标
106
派生
84
平均合并
1 天 11 小时
30 天内合并 PR
14

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/user_saml 的其他 Issue

查看 nextcloud/user_saml 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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