I too am seeing this behaviour - I’ve been through the config so many times iwith the installation guide and can’t figure out what might be going on. I have some JS errors, e.g. failed to load app undefined TypeError: t is undefined in web-runtime-6f65a499.js:1:68898.
It’s likely a setup problem, but it’s difficult to pinpoint where is problem with such a little information. There are quite a bunch of manual steps to do, and it’s easy to mess something up.
Maybe you could post what you do, step by step, using a fake server name. It’s likely a wrong url, but it’s difficult to know which one.
I installed oauth2 from here: github/owncloud/oauth2
I added a Client in the oauth2 App called OWeb, URI = blackhole/index.php/apps/web/oidc-callback.html took the clientid and saved it in the config.json
Double-check both apps are downloaded from the marketplace. You might want to use the “market” app for this. Some apps might require some build steps if you’re downloading the source code, and the apps in the marketplace are already built and ready to use, so no need for you to bother with additional things.
The “web.baseUrl” config option requires the whole url, including the protocol. This means https://blackhole/index.php/apps/web (I’m not sure if it will work with http, probably not)
For the oauth2 client, the uri also requires the protocol: https://blackhole/index.php/apps/web/oidc-callback.html
There is a 404 for the theme, you might want to remove it, although the web app works fine with that. Other than that, it works for me with those steps
I’ve tried many more times, but I always get the same problem again and again.
It seems to work, it authenticates, but then it gets stuck on this screen:
I cant’ see anything in the log file that is related to a possible issue with the configuration.
Hmmm, I’ve updated to version 4.4.0 and I’m still getting this error in my console:
Uncaught (in promise) Invalid query, please check the syntax.
The error is coming from line 12 of vendor.js which is vuex v3.6.2 - however I suspect the bug isn’t in Vue itself but in whatever is using / calling it. From the stack trace that appears to be initAuth in web-runtime.js.
The only other thing in my Console are these:
UserManager.getUser: user loaded
web-runtime-03539e51.js:1 New User Loaded. access_token: xxxRemovedxxx, refresh_token: undefined
vendor-fee82cbd.js:57 UserManager.signinRedirectCallback: no sub
Is it correct that the refresh_token is undefined there?
Edit
Within initAuth the lines causing the issue for me are these (2294/2295):
const s = await i.users.getUserGroups(n.id)
, r = await i.users.getUser(n.id);
It is at that point that I get this in my console: Uncaught (in promise) Invalid query, please check the syntax.
I can confirm that accessing my ownCloud installation directly (i.e. bypassing the proxy) results in the same error, suggesting to me that this has nothing to do with the proxy server.
Receive ‘Redirecting Please wait a while. You are being redirected.’ message
There is clearly something wrong here. I have tried deleting the web app and reinstalling it, I’ve gone through the instructions so many times my eyes hurt - I’m at a loss to know what to try next.