Steps to reproduce
- Install owncloud server on unraid
- Install OAuth2 app
- Install 2FA and activate
- Try to login on web = ok
- Try to login on desktop client - 403 forbidden
Expected behaviour
It should prompt me to grant access from desktop client request on browser and do 2FA then automatically go back to desktop client
Actual behaviour
403 forbidden error
Server configuration
Operating system:
unraid
Web server:
I don’t know. sorry I’m noob. Is it nginx?
Database:
mariaDB
PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10.9.1.2
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
unraid community apps (dlandon’s Repository)
Signing status (ownCloud 9.0 and above):
I don’t know what’s this?
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
It says “No errors have been found.”
The content of config/config.php:
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
or
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.
List of activated apps:
2FA, OAuth2
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
Are you using external storage, if yes which one: local/smb/sftp/…
Local
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
No
Client configuration
Browser:
Chrome
Operating system:
Win 11
Logs
Web server error log
owncloud.log (502.6 KB)
ownCloud log (data/owncloud.log)
owncloud.log (502.6 KB)
Trobuleshooting:
I tried to research and edit .htaccess on owncloud and set
`SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1`
Restarted owncloud docker but no avail. Still 403 forbidden error.