I’m unable to get the ownCloud desktop client to authenticate against OpenID - been banging my head against this issue for a couple of days, now. I’ve tried all of the .htaccess and vhost edits for RewriteEngine and AllowOverride All and have the desktop Client ID set up with the proper secret key in the IdP. I put the ownCloud server URL into the desktop client, it opens a web browser, I put in OpenID credentials, the browser goes on to the ownCloud web interface, the desktop client just sits saying “Please switch to your browser to proceed.”
Looking at the desktop client log files, it’s trying to get https://owncloud.xxxx.com/.well-known/openid-configuration instead of going to https://idp.xxxx.com/realms/master/.well-known/openid-configuration. The https://owncloud.xxxx.com/.well-known/openid-configuration URL results in a “page not found” message and a spew of PHP back to the desktop client, so that’s a dead-end for authentication.
I confirmed that localhost is getting passed for authorization:
0-26 13:30:26:052 [ debug sync.credentials.oauth ] [ isUrlValid ]: Checking URL for validity: QUrl(“https://owncloud.xxxx.com/index.php/apps/oauth2/authorize?response_type=code&client_id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69&redirect_uri=http://localhost:58876&code_challenge=UyqdGmKTXE97kJfPxHysLt1e4dbyHUzjIaeBBcGkJ8I&code_challenge_method=S256&scope=openid offline_access email profile&prompt=select_account consent&state=Xt2tnQ6hvkUvdp-Yu2MDX5jNvdSqU-7IPm4UHs8IsQ8%3D”)
Is there a configuration setting somewhere that’s incorrect on ownCloud or is this an IdP issue?