How to log out from ownCloud Web?

Yes, so basically every time I click on the log out button on ownCloud Web, I get redirected back to its home page. Is there some setting on config.json that’s causing this? How can I log out from Web without going back to Classic (or just log out completely from Web)?


    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "2": "",
            "1": ""
        "web.baseUrl": "https:\/\/\/index.php\/apps\/web",
        "web.rewriteLinks": true,
        "defaultapp" => "web",
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "mysql",
        "version": "",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "allow_user_to_change_mail_address": "",
        "logtimezone": "UTC",
        "apps_paths": [
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
                "path": "\/var\/www\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
        "installed": true,
        "instanceid": "oc9bcwsjao6d",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "",
            "port": "6379"


  "server" : "",
  "theme": "",
  "auth": {
    "clientId": "T78skHLLdxEwJzJlyvaryWLy9ayk5g2bmJbn4GeFw5EyHCJPvRaUlMW90xah2YIx",
    "url": "",
    "authUrl": ""
  "apps" : [
  "applications" : [
      "title": {
        "en": "Classic Design",
        "de": "Klassisches Design",
        "fr": "Design classique",
        "zh_CN": "文件"
      "icon": "swap-box",
      "url": ""
      "icon": "settings-4",
      "menu": "user",
      "target": "_self",
      "title": {
        "de": "Einstellungen",
        "en": "Settings"
      "url": ""

Re opening this as something is clearly broken with log out from Web. Tried with latest from and the only way to log out is switching back to Classic and clicking ‘Log out’ from the menu. Even though when you log out from Web it and shows you the log in screen, if you enter different creds and click log in, you still log in as the previous user.

Looks like this is an issue Logging out of oC classic does not log out of oC web · Issue #7018 · owncloud/web · GitHub atm.

1 Like

Actually there are two issues regarding logout. The technical reason is that ownCloud Web is an oauth2/oidc client and like with the desktop client or iOS app your session in the respective app is completely separated from your login in the oc10 classic ui. While that’s the desired behaviour for e.g. the desktop client, obviously it’s not for ownCloud Web.

When logging out in oC Web the next release 5.5.0 will redirect you to the logout URL of the classic ui. See Logging out of oC web does not log out of oC classic · Issue #5886 · owncloud/web · GitHub
When logging out in the classic ui there is more to do unfortunately. That’s the issue that you found already (Logging out of oC classic does not log out of oC web · Issue #7018 · owncloud/web · GitHub). We’re working on it…

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.