Guest login failes when setting up 2 factor auth


Nextcloud version 17.0.1
Operating system and version Rasperian Buster
Apache or nginx version Nginx 1.14.2
PHP version 7.3.11

The issue you are facing:

System hangs when a guest user attempts to setup 2 factor authentication. Guest just sees a spinning circle indefinitely

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

Admin settings. Enforce 2 factor for guest-app group

  1. Share a file by creating a guest account. Dialog displays and enter name and email.
  2. Admin creates a password for the guest account and communicates this to the guest user
  3. Guest receives email with share. Clicks the link and is shown the login page.
  4. Guest logs in and is presented with an option to setup 2 factor authentication. Guest clicks to setup and is shown a spinning circle indefinitely

The output of your Nextcloud log in Admin > Logging:

[PHP] Error: Undefined index: redirect_url at /var/www/nextcloud/core/templates/twofactorsetupselection.php#36

GET /login/setupchallenge?redirect_url=/f/88098
from by at 2019-11-17T10:12:14-08:00

Some help on this issue please. Thank you.