mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
1 line
2.3 KiB
HTML
1 line
2.3 KiB
HTML
{"error":{"message":"The requested scope is invalid, unknown, or malformed. Check the \"basic\" scope.","trace":["#0 \/Users\/alexbilbie\/Projects\/oauth2-server\/src\/Grant\/ClientCredentialsGrant.php(77): League\\OAuth2\\Server\\Grant\\AbstractGrant->validateScopes('basic', Object(League\\OAuth2\\Server\\Entities\\ClientEntity))","#1 \/Users\/alexbilbie\/Projects\/oauth2-server\/src\/Server.php(117): League\\OAuth2\\Server\\Grant\\ClientCredentialsGrant->getAccessTokenAsType(Object(Symfony\\Component\\HttpFoundation\\Request), Object(League\\OAuth2\\Server\\ResponseTypes\\BearerTokenResponseType), Object(DateInterval))","#2 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/client-credentials\/index.php(19): League\\OAuth2\\Server\\Server->getAccessTokenResponse(Object(Symfony\\Component\\HttpFoundation\\Request))","#3 [internal function]: {closure}(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), Array)","#4 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/league\/route\/src\/Strategy\/AbstractStrategy.php(55): call_user_func_array(Object(Closure), Array)","#5 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/league\/route\/src\/Strategy\/RequestResponseStrategy.php(19): League\\Route\\Strategy\\AbstractStrategy->invokeController(Object(Closure), Array)","#6 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/league\/route\/src\/Dispatcher.php(112): League\\Route\\Strategy\\RequestResponseStrategy->dispatch(Object(Closure), Array)","#7 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/league\/route\/src\/Dispatcher.php(73): League\\Route\\Dispatcher->handleFound(Object(Closure), Object(League\\Route\\Strategy\\RequestResponseStrategy), Array)","#8 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/alexbilbie\/proton\/src\/Application.php(251): League\\Route\\Dispatcher->dispatch('POST', '\/access_token')","#9 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/vendor\/alexbilbie\/proton\/src\/Application.php(300): Proton\\Application->handle(Object(Symfony\\Component\\HttpFoundation\\Request))","#10 \/Users\/alexbilbie\/Projects\/oauth2-server\/examples\/client-credentials\/index.php(23): Proton\\Application->run()","#11 {main}"]}} |