-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth 2.0: ClientNotFoundException #11056
Comments
Noone with an idea? |
Same issue occurred to me with 14.0.0 (stable). @fancycode FYI |
Error occurred only after updating from NC13 to NC14. |
Hi, i just had the same issue. The problem for me was that I requested the url like this: Without The problem is that you also have to tell nextcloud to use pretty urls. Eg. add the following lines to your
|
As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. |
Steps to reproduce
Expected behaviour
I want to login via Nextcloud and redirect to my application.
Actual behaviour
An error occures:
`Interner Serverfehler
Der Server konnte die Anfrage nicht fertig stellen.
Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.
Weitere Details können im Server-Protokoll gefunden werden.
Technische Details
Entfernte Adresse: 91.53.243.43
Anfragekennung: W492DFUNg7YAABXLFvEAAAAB
Typ: OCA\OAuth2\Exceptions\ClientNotFoundException
Code: 0
Nachricht:
Datei: /www/htdocs/***/cloud.gruessung.eu/apps/oauth2/lib/Db/ClientMapper.php
Zeile: 53
Trace
#0 /www/htdocs//cloud.gruessung.eu/apps/oauth2/lib/Controller/LoginRedirectorController.php(70): OCA\OAuth2\Db\ClientMapper->getByIdentifier(NULL)
#1 /www/htdocs//cloud.gruessung.eu/lib/private/AppFramework/Http/Dispatcher.php(166): OCA\OAuth2\Controller\LoginRedirectorController->authorize(NULL, NULL, NULL)
#2 /www/htdocs//cloud.gruessung.eu/lib/private/AppFramework/Http/Dispatcher.php(99): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\OAuth2\Controller\LoginRedirectorController), 'authorize')
#3 /www/htdocs//cloud.gruessung.eu/lib/private/AppFramework/App.php(118): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\OAuth2\Controller\LoginRedirectorController), 'authorize')
#4 /www/htdocs//cloud.gruessung.eu/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\OAuth2\Cont...', 'authorize', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#5 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#6 /www/htdocs//cloud.gruessung.eu/lib/private/Route/Router.php(297): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#7 /www/htdocs//cloud.gruessung.eu/lib/base.php(989): OC\Route\Router->match('/apps/oauth2/au...')
#8 /www/htdocs//cloud.gruessung.eu/index.php(42): OC::handleRequest()
#9 {main}`
Server configuration
Operating system: Linux dd7120 3.13.0-157-generic #207-Ubuntu SMP Mon Aug 20 16:44:59 UTC 2018 x86_64
Web server: Apache
Database: mySQL
PHP version: 7.2
Nextcloud version: 14.0.0 RC 2 (also tested with NC 13 last patch level)
Updated from an older Nextcloud/ownCloud or fresh install: Update from NC 13
Where did you install Nextcloud from: Self installed
Signing status:
Signing status
``` No errors have been found. ```List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
One Local storage
Are you using encryption: yes/no
Yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser: Google Chrome Latest
Operating system: Win10
Logs
Web server error log
Web server error log
No access to this file -> web hoster
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: