zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
199 stars 138 forks source link

Unable to log in new users with 4.5.2 on Nextcloud 21.0.1 #261

Closed talavis closed 3 years ago

talavis commented 3 years ago

Social Login 4.5.2 Nextcloud 21.0.1 Google used for login

After upgrading to the latest version of social login new users cannot log in on our instance. The users are added, but they cannot log in. Existing users can login without issue.

I do sadly not know which version we used earlier and that did work.

Normal users that are created manually can login, so it does seem to be a specific problem for the app.

Any login attempt by a new user adds an entry like this to the log:

/var/www/html/apps/files/lib/Controller/ViewController.php - line 148:

OC_Helper::getStorageInfo("/", false)

/var/www/html/apps/files/lib/Controller/ViewController.php - line 197:

OCA\Files\Controller\ViewController->getStorageInfo()

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 218:

OCA\Files\Controller\ViewController->index("", "", null, false)

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 127:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Files\Co ... {}, "index")

/var/www/html/lib/private/AppFramework/App.php - line 157:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Files\Co ... {}, "index")

/var/www/html/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main("OCA\\Files\ ... r", "index", OC\AppFramew ... {}, { _route: "files.view.index"})

/var/www/html/lib/base.php - line 993:

OC\Route\Router->match("/apps/files/")

/var/www/html/index.php - line 37:

OC::handleRequest()
zorn-v commented 3 years ago

Fixed in v4.5.3 May be need to clear cookies to relogin

talavis commented 3 years ago

Seems to work fine now. Thank you for the quick fix.