// troubleshooting guide · owncloud
ownCloud Infinite Scale (oCIS) Login Loop or Invalid Issuer Error
- Status
- Workaround available
- platforms:
- Self-hosted ownCloud Infinite Scale (Docker, Linux)
- updated:
- November 16, 2026
- reports:
- 4
- Method
- how we research
RUNBOOK · owncloud/infinite-scale-oidc-login-error4 FIXES
// quick answer
Most oCIS login failures with an external identity provider come from mismatched issuer URLs or missing redirect URIs. Make the issuer identical everywhere, register every client redirect, and make the hostname resolve to the reverse proxy.
Most likely fix: Use one issuer URL
How to fix it
// try these in order, the most common fix is first
FIX 1Use one issuer URL
- 01Set the same https issuer (with or without trailing slash, consistently) in OCIS_OIDC_ISSUER, PROXY_OIDC_ISSUER and your IdP
- 02Restart oCIS
Did this fix it?FIX 2Register all redirect URIs
- 01Web client: https://your-host/, /oidc-callback.html, /oidc-silent-redirect.html
- 02Desktop client: http://127.0.0.1 and http://localhost
- 03Use the public client IDs the oCIS docs list for web, desktop and mobile
Did this fix it?FIX 3Fix name resolution
- 01Make the oCIS hostname resolve to the reverse proxy IP inside the container (extra_hosts in Docker)
Did this fix it?FIX 4Change token verification
- 01If the desktop client fails but the browser works, try PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none
- 02Clear browser cookies and local storage and log in again
Did this fix it?
Symptoms
The browser loops at /oidc-callback, the desktop app reports 'failed to verify access token: token has invalid issuer', or the proxy logs 401 invalid_token.
Why it happens
- C-01OCIS_OIDC_ISSUER, PROXY_OIDC_ISSUER and the IdP issuer differ
- C-02Redirect URIs (oidc-callback.html, oidc-silent-redirect.html, desktop loopback) not registered
- C-03Hostname resolves to 127.0.0.1 inside the container
- C-04PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=jwt with an IdP that issues opaque or differently signed tokens
// this guide also covers
- ocis login loop
- ocis invalid issuer
- owncloud infinite scale oidc
- ocis authentik
- ocis keycloak
Still not working?
If ownCloud keeps failing, you're not alone. See every ownCloud problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All login, account & activation guides →
Seafile 403 CSRF Verification Failed (Seafile)
Other ownCloud errors
- ownCloud Desktop Client Not Syncing
- ownCloud Desktop App 7 Not Connecting to ownCloud Server
- ownCloud File Is Locked (Server Replied 423 Locked)
- ownCloud Access Through Untrusted Domain Error
- ownCloud Large File Upload Fails (413 Request Entity Too Large)
- ownCloud Stuck in Maintenance Mode After Update
- ownCloud Integrity Check Failed (Some Files Have Not Passed)
- ownCloud Unable to Open or Create the Local Sync Database