-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth request to get authorization code fails #4055
Comments
Maybe related to an oCIS issue with |
I tried adding the environment variables below in my
|
I tried to log in today and it worked for some reason :)
|
Hi @Ke1i! Nice that it already works, it seems the problem was what @michaelstingl commented. I'll close the issue, but don't hesitate to open a new one or re-open this if new problems appear or the problem persists 😀. |
Actual behaviour
-Tell us what happens
Cannot log into my self-hosted OCIS instance (version 3.0.0-rc.4) using Owncloud android app (version 4.0) sourced from F-Droid
Expected behaviour
-Tell us what should happen
Owncloud android app should log into my account and display my files after successful authentication
Steps to reproduce
Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)
No. I tested the android app using the test server and I could log in using the above provided credentials.
Environment data
Android version:
11
Device model:
htc m8wl
Stock or customized system:
Custom (DivestOS 18.1)
ownCloud app version:
4.0
ownCloud server version:
OCIS 3.0.0-rc.4
Logs
Web server error log
ownCloud log (From Android app)
OCIS systemd log
OCIS environment file
Additional info
I'm using Caddy as my reverse proxy and I can access OCIS just fine from web browsers (desktop and mobile)
When I first tested the android app without the reverse proxy, it worked with the OCIS environment file below - after complaining about an "untrusted certificate" which I had to accept.
But I couldn't stream a video I uploaded because of an "untrusted certificate" error. So I installed caddy and changed the environment file. I tried to log in using the new address but I couldn't - but the browsers worked just fine.
When I couldn't log in I deleted everthing in
/var/lib/ocis
and the yaml file in/etc/ocis/
then rerunsudo -u ocis ocis init --config-path /etc/ocis
I logged into the new OCIS instance via Firefox and created a new test user. I tried to log in this user using the android app but it wouldn't even after successfull authentication.
So far, webdav (via davs://ocis.keli.duckdns.org/remote.php/webdav) and web (https://ocis.keli.duckdns.org) work but not the android app.
Any help?
Screenshots
OCIS web interface on Mull
OCIS webdav access via gnome files
OCIS authentication on Owncloud android app
The text was updated successfully, but these errors were encountered: