Skip to content

Add option to disable automatic redirect to SAML login in environment-variable mode #1029

@gavio-dot

Description

@gavio-dot

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions