Add option to disable automatic redirect to SAML login in environment-variable mode
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- php
調査の方向性
Application.php から始めます。ここでは現在、issue によって $showLoginOptions = true が強制されています。環境変数によるログインフローを /index.php/login から SAML ルートまで追跡してください。自動リダイレクトを無効にすると、代わりに /apps/user_saml/saml/selectUserBackEnd が表示されるように設定の動作を定義し、有効および無効の両方のケースを検証してください。
索引モデルが issue の本文から書いたものです。
説明
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: 32.0.3
Is your feature request related to a problem? Please describe.
In environment-variable mode, requesting /index.php/login (so going to nextcloud root when not logged in) triggers an unconditional redirect to /apps/user_saml/saml/login (and then WAYF/IdP). This confuses users and prevents them from reading service information/terms before initiating federated login.
Describe the solution you'd like
Provide a setting to disable automatic redirect from /index.php/login to /apps/user_saml/saml/login and display /apps/user_saml/saml/selectUserBackEnd instead.
Additional context
For the moment I bypassed the problem by forcing $showLoginOptions = true; in Application.php
- 主要言語
- PHP
- スター
- 106
- フォーク
- 84
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 14
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/user_saml のほかの issue
-
0. Needs triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
nextcloud/user_saml の issue をすべて見る
似ている issue
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Перевод устарел
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/blocks-engine#4621 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
YunoHost-Apps/snappymail_ynh#205 ·