Skip to content

Have user_saml ask for totp code if enabled for user #288

Open
@ChessSpider

Description

@ChessSpider

Steps to reproduce

  1. Configure nextcloud to use user_saml
  2. Configure nextcloud to use https://github.com/nextcloud/twofactor_totp
  3. Configure totp for your user
  4. Login using SAML

Expected behaviour

After authentication using SAML, I would expect to the 2nd factor authentication to kick in. Aka, it should ask for the totp code.

Actual behaviour

Immediately logged in without asking for totp code

Server configuration

Operating system: linux
Web server: docker
Database: postgresql docker
PHP version: 7.2.19

Version: 15.0.10

Updated from an older version or fresh install: update

List of activated apps:
notable user_saml for login, and twofactor_totp for 2nd factor auth

Client configuration

Browser: firefox

Operating system: win10

Logs

Web server error log
Insert your webserver log here
Server log (data/nextcloud.log)

nothing of totp or user_saml here

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