Closed newhinton closed 2 years ago
See unsplash#97
It seems this is not a bug. I was not aware of the @NoTwoFactorRequired
-Flag, only of the @PublicPage
-Flag. The former seems to allow loading of dynamically generated css-files by a Controller.
⚠️ This issue respects the following points: ⚠️
Bug description
It is impossible to load css on the
core.TwoFactorChallenge.showChallenge
-route. It tries to redirect the added header.the url to be called and generated by Util::addHeader()_
[http://localhost]/index.php/apps/unsplash/api/login
the url shown by my network-calls when adding said call on the totp-challenge:
http://localhost/index.php/login/selectchallenge?redirect_url=/index.php/apps/unsplash/api/login
The controller marked the route added by routes.php as Public, so it should load (as it does on the normal login-screen)
Steps to reproduce
See above
Expected behavior
The added header should not be redirected and loaded appropriately.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response