// 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
Share

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

  1. FIX 1Use one issuer URL

    1. 01Set the same https issuer (with or without trailing slash, consistently) in OCIS_OIDC_ISSUER, PROXY_OIDC_ISSUER and your IdP
    2. 02Restart oCIS
    Did this fix it?
  2. FIX 2Register all redirect URIs

    1. 01Web client: https://your-host/, /oidc-callback.html, /oidc-silent-redirect.html
    2. 02Desktop client: http://127.0.0.1 and http://localhost
    3. 03Use the public client IDs the oCIS docs list for web, desktop and mobile
    Did this fix it?
  3. FIX 3Fix name resolution

    1. 01Make the oCIS hostname resolve to the reverse proxy IP inside the container (extra_hosts in Docker)
    Did this fix it?
  4. FIX 4Change token verification

    1. 01If the desktop client fails but the browser works, try PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none
    2. 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 us

Watch ownCloud Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All login, account & activation guides →

Other ownCloud errors

All 12 ownCloud errors and fixes →