Error 401 Unauthorized

POST https://update.2nd-source.de/api/oauth/token

Exceptions

Client authentication failed

Exception

League\OAuth2\Server\Exception\ OAuthServerException

Show exception properties
League\OAuth2\Server\Exception\OAuthServerException {#2239
  -payload: array:2 [
    "error" => "invalid_client"
    "error_description" => "Client authentication failed"
  ]
  -serverRequest: Nyholm\Psr7\ServerRequest {#2294
    -attributes: array:8 [
      "_stopwatch_token" => "6488f9"
      "_route" => "api.oauth.token"
      "_routeScope" => array:1 [
        0 => "api"
      ]
      "auth_required" => false
      "_controller" => "Shopware\Core\Framework\Api\Controller\AuthController::token"
      "_route_params" => array:1 [
        "auth_required" => false
      ]
      "_cspNonce" => "vGyMy9HRXBk="
      "sw-context" => Shopware\Core\Framework\Context {#2145
        #extensions: []
        #scope: "system"
        #rulesLocked: false
        #source: Shopware\Core\Framework\Api\Context\SystemSource {#2146
          +type: "system"
        }
        #ruleIds: []
        #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
        #languageIdChain: array:1 [
          0 => "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
        ]
        #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
        #currencyFactor: 1.0
        #considerInheritance: false
        #taxState: "gross"
        #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2129
          #extensions: []
          #decimals: 2
          #interval: 0.01
          #roundForNet: true
        }
        #states: []
      }
    ]
    -cookieParams: []
    -parsedBody: array:3 [
      "grant_type" => "client_credentials"
      "client_id" => "SWIAZUHVNJYYBWHMSKJYVGVFRW"
      "client_secret" => "T0JqanVyejhWb2d2YkRqanpXSVVhR2VtdG5HS3AxekFaM1RjNTQ"
    ]
    -queryParams: []
    -serverParams: array:87 [
      "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
      "USER" => "w01a0428"
      "HOME" => "/www/htdocs/w01a0428"
      "SCRIPT_NAME" => "/index.php"
      "REQUEST_URI" => "/api/oauth/token"
      "QUERY_STRING" => ""
      "REQUEST_METHOD" => "POST"
      "SERVER_PROTOCOL" => "HTTP/2.0"
      "GATEWAY_INTERFACE" => "CGI/1.1"
      "REDIRECT_URL" => "/api/oauth/token"
      "REMOTE_PORT" => "42508"
      "SCRIPT_FILENAME" => "/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/public/index.php"
      "SERVER_ADMIN" => "webmaster@update.2nd-source.de"
      "CONTEXT_DOCUMENT_ROOT" => "/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/public/"
      "CONTEXT_PREFIX" => ""
      "REQUEST_SCHEME" => "https"
      "DOCUMENT_ROOT" => "/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/public/"
      "REMOTE_ADDR" => "127.0.0.1"
      "SERVER_PORT" => "443"
      "SERVER_ADDR" => "85.13.128.77"
      "SERVER_NAME" => "update.2nd-source.de"
      "SERVER_SOFTWARE" => "Apache"
      "SERVER_SIGNATURE" => ""
      "HTTP_X_LE_CLIENT_UA" => "(null)"
      "HTTP_X_LE_CLIENT_IP" => "167.235.1.20"
      "HTTP_HOST" => "update.2nd-source.de"
      "CONTENT_LENGTH" => "146"
      "HTTP_ACCEPT" => "*/*"
      "CONTENT_TYPE" => "application/json"
      "HTTP_CACHE_CONTROL" => "no-cache"
      "SSL_CLIENT_CERT" => ""
      "SSL_SERVER_CERT" => """
        -----BEGIN CERTIFICATE-----\n
        MIIDrTCCAzKgAwIBAgISBcsMH1LpM3W2N1H/oSjgqxULMAoGCCqGSM49BAMDMDIx\n
        CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF\n
        ODAeFw0yNjA0MDgxODAyNDBaFw0yNjA3MDcxODAyMzlaMB8xHTAbBgNVBAMTFHVw\n
        ZGF0ZS4ybmQtc291cmNlLmRlMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJypt\n
        9XOUApI/5Dj7+ZWAErx8XLJ/CAWwucWn4g98TDMBc/jaJ1yod5Esqu7DegYwua8+\n
        vBmU4DZXIwrTMiRDuKOCAjkwggI1MA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAK\n
        BggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS2assBd5rFiCbfx3vi\n
        XIctii60szAfBgNVHSMEGDAWgBSPDROi9i5+0VBsMxg4XVmOI3KRyjAyBggrBgEF\n
        BQcBAQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly9lOC5pLmxlbmNyLm9yZy8wOQYD\n
        VR0RBDIwMIIUdXBkYXRlLjJuZC1zb3VyY2UuZGWCGHd3dy51cGRhdGUuMm5kLXNv\n
        dXJjZS5kZTATBgNVHSAEDDAKMAgGBmeBDAECATAtBgNVHR8EJjAkMCKgIKAehhxo\n
        dHRwOi8vZTguYy5sZW5jci5vcmcvMTIuY3JsMIIBCwYKKwYBBAHWeQIEAgSB/ASB\n
        +QD3AHYAlE5Dh/rswe+B8xkkJqgYZQHH0184AgE/cmd9VTcuGdgAAAGdbnhKigAA\n
        BAMARzBFAiEA7qf1bzQl1H5CG/7eZ16sMIxSxQA+T0fBI4t1J5iYqC0CIBeMQo/U\n
        VdpWFKYRWKRPy0AZs4z9QVZ+PGnRdU9VjwLXAH0ARq+GPTs+5Z+ld96oJF02sNnt\n
        IqIj9GF3QSKUUu6VUF8AAAGdbnhLAQAIAAAFAANcfcYEAwBGMEQCIFoBY77rKhQP\n
        QzJLNum6WRQboIOVMSq+/Ia0BC+eVDr+AiBi2Jsbk7b/lWli2nDb1Ul9LDqo1F+u\n
        kX296o5s6bO/KDAKBggqhkjOPQQDAwNpADBmAjEA7enAq3qOdPokEX0J4I1yvfF1\n
        HGqapou43kDbZu60hDFVW/MQwGPWuZO25dYS1q85AjEAsVH5ylAjbCB14Dy368X5\n
        tOd/qINo7a05P//QhFE4j/8f5hy5XJWqZvM9goc0C/94\n
        -----END CERTIFICATE-----\n
        """
      "SSL_TLS_SNI" => "update.2nd-source.de"
      "HTTPS" => "on"
      "H2_STREAM_TAG" => "1442090-35883-1"
      "H2_STREAM_ID" => "1"
      "H2_PUSHED_ON" => ""
      "H2_PUSHED" => ""
      "H2_PUSH" => "off"
      "H2PUSH" => "off"
      "HTTP2" => "on"
      "UNIQUE_ID" => "aeIQHgwHVfUeUqr4WBRDSQAAgBw"
      "REDIRECT_STATUS" => "200"
      "REDIRECT_SSL_CLIENT_CERT" => ""
      "REDIRECT_SSL_SERVER_CERT" => """
        -----BEGIN CERTIFICATE-----\n
        MIIDrTCCAzKgAwIBAgISBcsMH1LpM3W2N1H/oSjgqxULMAoGCCqGSM49BAMDMDIx\n
        CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF\n
        ODAeFw0yNjA0MDgxODAyNDBaFw0yNjA3MDcxODAyMzlaMB8xHTAbBgNVBAMTFHVw\n
        ZGF0ZS4ybmQtc291cmNlLmRlMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJypt\n
        9XOUApI/5Dj7+ZWAErx8XLJ/CAWwucWn4g98TDMBc/jaJ1yod5Esqu7DegYwua8+\n
        vBmU4DZXIwrTMiRDuKOCAjkwggI1MA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAK\n
        BggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS2assBd5rFiCbfx3vi\n
        XIctii60szAfBgNVHSMEGDAWgBSPDROi9i5+0VBsMxg4XVmOI3KRyjAyBggrBgEF\n
        BQcBAQQmMCQwIgYIKwYBBQUHMAKGFmh0dHA6Ly9lOC5pLmxlbmNyLm9yZy8wOQYD\n
        VR0RBDIwMIIUdXBkYXRlLjJuZC1zb3VyY2UuZGWCGHd3dy51cGRhdGUuMm5kLXNv\n
        dXJjZS5kZTATBgNVHSAEDDAKMAgGBmeBDAECATAtBgNVHR8EJjAkMCKgIKAehhxo\n
        dHRwOi8vZTguYy5sZW5jci5vcmcvMTIuY3JsMIIBCwYKKwYBBAHWeQIEAgSB/ASB\n
        +QD3AHYAlE5Dh/rswe+B8xkkJqgYZQHH0184AgE/cmd9VTcuGdgAAAGdbnhKigAA\n
        BAMARzBFAiEA7qf1bzQl1H5CG/7eZ16sMIxSxQA+T0fBI4t1J5iYqC0CIBeMQo/U\n
        VdpWFKYRWKRPy0AZs4z9QVZ+PGnRdU9VjwLXAH0ARq+GPTs+5Z+ld96oJF02sNnt\n
        IqIj9GF3QSKUUu6VUF8AAAGdbnhLAQAIAAAFAANcfcYEAwBGMEQCIFoBY77rKhQP\n
        QzJLNum6WRQboIOVMSq+/Ia0BC+eVDr+AiBi2Jsbk7b/lWli2nDb1Ul9LDqo1F+u\n
        kX296o5s6bO/KDAKBggqhkjOPQQDAwNpADBmAjEA7enAq3qOdPokEX0J4I1yvfF1\n
        HGqapou43kDbZu60hDFVW/MQwGPWuZO25dYS1q85AjEAsVH5ylAjbCB14Dy368X5\n
        tOd/qINo7a05P//QhFE4j/8f5hy5XJWqZvM9goc0C/94\n
        -----END CERTIFICATE-----\n
        """
      "REDIRECT_SSL_TLS_SNI" => "update.2nd-source.de"
      "REDIRECT_HTTPS" => "on"
      "REDIRECT_H2_STREAM_TAG" => "1442090-35883-1"
      "REDIRECT_H2_STREAM_ID" => "1"
      "REDIRECT_H2_PUSHED_ON" => ""
      "REDIRECT_H2_PUSHED" => ""
      "REDIRECT_H2_PUSH" => "off"
      "REDIRECT_H2PUSH" => "off"
      "REDIRECT_HTTP2" => "on"
      "REDIRECT_UNIQUE_ID" => "aeIQHgwHVfUeUqr4WBRDSQAAgBw"
      "FCGI_ROLE" => "RESPONDER"
      "PHP_SELF" => "/index.php"
      "REQUEST_TIME_FLOAT" => 1776422942.8
      "REQUEST_TIME" => 1776422942
      "argv" => []
      "argc" => 0
      "SYMFONY_DOTENV_PATH" => "/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/.env"
      "APP_ENV" => "dev"
      "APP_URL" => "https://update.2nd-source.de"
      "APP_SECRET" => "def0000080c0f7f892b6e51a768591356d546f760633f2391de360a6e06df0debcaf098f5d7777c926f0cd51b9930d064d94bb722ab8d675db9ab800359bff2e505da37f"
      "INSTANCE_ID" => "zKE5EW1uJN1efLQaM8Dc5g58eETpty99"
      "BLUE_GREEN_DEPLOYMENT" => "1"
      "DATABASE_URL" => "mysql://d046d12c:2k3QHDJL6Z4MLY8uYWUy@localhost:3306/d046d12c"
      "OPENSEARCH_URL" => "http://localhost:9200"
      "SHOPWARE_ES_ENABLED" => "0"
      "SHOPWARE_ES_INDEXING_ENABLED" => "0"
      "SHOPWARE_ES_INDEX_PREFIX" => "sw"
      "SHOPWARE_ES_THROW_EXCEPTION" => "0"
      "PROXY_URL" => "http://localhost"
      "SHOPWARE_HTTP_CACHE_ENABLED" => "1"
      "SHOPWARE_HTTP_DEFAULT_TTL" => "7200"
      "LOCK_DSN" => "flock"
      "SYMFONY_DOTENV_VARS" => "APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,LOCK_DSN,MAILER_DSN,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_ADMIN_ES_INDEX_PREFIX,SHOPWARE_ADMIN_ES_ENABLED,SHOPWARE_ADMIN_ES_REFRESH_INDICES"
      "MAILER_DSN" => "null://null"
      "COMPOSER_HOME" => "/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/var/cache/composer"
      "SHOPWARE_ES_HOSTS" => "localhost:9200"
      "SHOPWARE_ADMIN_ES_INDEX_PREFIX" => "sw-admin"
      "SHOPWARE_ADMIN_ES_ENABLED" => "0"
      "SHOPWARE_ADMIN_ES_REFRESH_INDICES" => "0"
      "APP_DEBUG" => "1"
      "HTTP_FORWARDED" => "for="167.235.1.20";host="update.2nd-source.de";proto=https"
      "HTTP_X_FORWARDED_FOR" => "167.235.1.20"
    ]
    -uploadedFiles: []
    -headers: array:11 [
      "x-le-client-ua" => array:1 [
        0 => "(null)"
      ]
      "x-le-client-ip" => array:1 [
        0 => "167.235.1.20"
      ]
      "host" => array:1 [
        0 => "update.2nd-source.de"
      ]
      "content-length" => array:1 [
        0 => "146"
      ]
      "accept" => array:1 [
        0 => "*/*"
      ]
      "content-type" => array:1 [
        0 => "application/json"
      ]
      "cache-control" => array:1 [
        0 => "no-cache"
      ]
      "surrogate-capability" => array:1 [
        0 => "symfony="ESI/1.0""
      ]
      "forwarded" => array:1 [
        0 => "for="167.235.1.20";host="update.2nd-source.de";proto=https"
      ]
      "x-forwarded-for" => array:1 [
        0 => "167.235.1.20"
      ]
      "x-php-ob-level" => array:1 [
        0 => "0"
      ]
    ]
    -headerNames: array:11 [
      "host" => "host"
      "x-le-client-ua" => "x-le-client-ua"
      "x-le-client-ip" => "x-le-client-ip"
      "content-length" => "content-length"
      "accept" => "accept"
      "content-type" => "content-type"
      "cache-control" => "cache-control"
      "surrogate-capability" => "surrogate-capability"
      "forwarded" => "forwarded"
      "x-forwarded-for" => "x-forwarded-for"
      "x-php-ob-level" => "x-php-ob-level"
    ]
    -protocol: "1.1"
    -stream: Nyholm\Psr7\Stream {#2252
      -stream: stream resource @1573
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -seekable: true
      -readable: true
      -writable: true
      -uri: null
      -size: null
    }
    -method: "POST"
    -requestTarget: null
    -uri: Nyholm\Psr7\Uri {#2258
      -scheme: "https"
      -userInfo: ""
      -host: "update.2nd-source.de"
      -port: null
      -path: "/api/oauth/token"
      -query: ""
      -fragment: ""
    }
  }
  -errorType: "invalid_client"
  -httpStatusCode: 401
  -hint: null
  -redirectUri: null
}
  1. /**
  2. * Invalid client error.
  3. */
  4. public static function invalidClient(ServerRequestInterface $serverRequest): static
  5. {
  6. $exception = new static('Client authentication failed', 4, 'invalid_client', 401);
  7. $exception->setServerRequest($serverRequest);
  8. return $exception;
  9. }
  1. {
  2. $client = $this->clientRepository->getClientEntity($clientId);
  3. if ($client instanceof ClientEntityInterface === false) {
  4. $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
  5. throw OAuthServerException::invalidClient($request);
  6. }
  7. if ($this->supportsGrantType($client, $this->getIdentifier()) === false) {
  8. throw OAuthServerException::unauthorizedClient();
  9. }
in vendor/league/oauth2-server/src/Grant/AbstractGrant.php -> getClientEntityOrFail (line 154)
  1. */
  2. protected function validateClient(ServerRequestInterface $request): ClientEntityInterface
  3. {
  4. [$clientId, $clientSecret] = $this->getClientCredentials($request);
  5. $client = $this->getClientEntityOrFail($clientId, $request);
  6. if ($client->isConfidential()) {
  7. if ($clientSecret === '') {
  8. throw OAuthServerException::invalidRequest('client_secret');
  9. }
  1. public function respondToAccessTokenRequest(
  2. ServerRequestInterface $request,
  3. ResponseTypeInterface $responseType,
  4. DateInterval $accessTokenTTL
  5. ): ResponseTypeInterface {
  6. $client = $this->validateClient($request);
  7. if (!$client->isConfidential()) {
  8. $this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
  9. throw OAuthServerException::invalidClient($request);
in vendor/league/oauth2-server/src/AuthorizationServer.php -> respondToAccessTokenRequest (line 176)
  1. foreach ($this->enabledGrantTypes as $grantType) {
  2. if (!$grantType->canRespondToAccessTokenRequest($request)) {
  3. continue;
  4. }
  5. $tokenResponse = $grantType->respondToAccessTokenRequest(
  6. $request,
  7. $this->getResponseType(),
  8. $this->grantTypeAccessTokenTTL[$grantType->getIdentifier()]
  9. );
in vendor/shopware/core/Framework/Api/Controller/AuthController.php -> respondToAccessTokenRequest (line 49)
  1. }
  2. $psr7Request = $this->psrHttpFactory->createRequest($request);
  3. $psr7Response = $this->psrHttpFactory->createResponse($response);
  4. $response = $this->authorizationServer->respondToAccessTokenRequest($psr7Request, $psr7Response);
  5. $this->rateLimiter->reset(RateLimiter::OAUTH, $cacheKey);
  6. return (new HttpFoundationFactory())->createResponse($response);
  7. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. $this->dispatcher->dispatch($event);
  2. return $event->getResponse();
  3. }
  4. return parent::handle($request, $type, $catch);
  5. }
  6. }
  1. if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
  2. Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3. }
  4. try {
  5. return $kernel->handle($request, $type, $catch);
  6. } finally {
  7. // restore global state
  8. Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
  9. }
  10. }
  1. protected function forward(Request $request, bool $catch = false, ?Response $entry = null): Response
  2. {
  3. $this->surrogate?->addSurrogateCapability($request);
  4. // always a "master" request (as the real master request can be in cache)
  5. $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
  6. /*
  7. * Support stale-if-error given on Responses or as a config option.
  8. * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9. * Cache-Control directives) that
  1. */
  2. protected function pass(Request $request, bool $catch = false): Response
  3. {
  4. $this->record($request, 'pass');
  5. return $this->forward($request, $catch);
  6. }
  7. /**
  8. * Invalidates non-safe methods (like POST, PUT, and DELETE).
  9. *
  1. *
  2. * @see RFC2616 13.10
  3. */
  4. protected function invalidate(Request $request, bool $catch = false): Response
  5. {
  6. $response = $this->pass($request, $catch);
  7. // invalidate only when the response is successful
  8. if ($response->isSuccessful() || $response->isRedirect()) {
  9. try {
  10. $this->store->invalidate($request);
  1. }
  2. $this->traces[$this->getTraceKey($request)] = [];
  3. if (!$request->isMethodSafe()) {
  4. $response = $this->invalidate($request, $catch);
  5. } elseif ($request->headers->has('expect') || !$request->isMethodCacheable()) {
  6. $response = $this->pass($request, $catch);
  7. } elseif ($this->options['allow_reload'] && $request->isNoCache()) {
  8. /*
  9. If allow_reload is configured and the client requests "Cache-Control: no-cache",
  1. // only handle main request inside http cache, because ESI tags are also interpreted as main request.
  2. // sub requests are requests, which are forwarded to the kernel inside the php stack
  3. // https://github.com/symfony/symfony/issues/51648#issuecomment-1717846894
  4. if ($type === HttpKernelInterface::MAIN_REQUEST) {
  5. $response = parent::handle($request, $type, $catch);
  6. } elseif ($request->attributes->has('_sw_esi')) {
  7. $response = parent::handle($request, $type, $catch);
  8. } else {
  9. $response = $this->getKernel()->handle($request, $type, $catch);
  10. }
in vendor/shopware/core/Kernel.php -> handle (line 129)
  1. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
  2. {
  3. $this->boot();
  4. return $this->getHttpKernel()->handle($request, $type, $catch);
  5. }
  6. public function boot(): void
  7. {
  8. if (!$this->booted) {
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/vendor/autoload_runtime.php') in public/index.php (line 10)
  1. use Shopware\Core\Installer\InstallerKernel;
  2. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ . '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) {
  6. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

Logs

Level Channel Message
INFO 12:05:51 php User Deprecated: Since symfony/var-exporter 7.3: The "Symfony\Component\VarExporter\LazyGhostTrait" trait is deprecated, use native lazy objects instead.
{
    "exception": {}
}
INFO 12:05:51 php User Deprecated: The "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository" class uses "Symfony\Component\VarExporter\LazyGhostTrait" that is deprecated since Symfony 7.3, use native lazy objects instead.
{
    "exception": {}
}
DEBUG 12:05:51 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Framework\Adapter\Cache\CacheTagCollector::__invoke".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheTagCollector::__invoke"
}
DEBUG 12:05:51 event Notified event "Shopware\Core\Framework\Adapter\Cache\Event\AddCacheTagEvent" to listener "Shopware\Core\Profiling\Subscriber\CacheTagCollectorSubscriber::add".
{
    "event": "Shopware\\Core\\Framework\\Adapter\\Cache\\Event\\AddCacheTagEvent",
    "listener": "Shopware\\Core\\Profiling\\Subscriber\\CacheTagCollectorSubscriber::add"
}
INFO 12:05:51 cache Lock acquired, now computing item "system-config-"
{
    "key": "system-config-"
}
INFO 12:05:51 php User Deprecated: The "Shopware\Core\Framework\DataAbstractionLayer\Search\EntityAggregatorInterface" interface is considered internal. It may change without further notice. You should not use it from "Swag\Security\Fixes\GHSAm8952hj38cg9\EntityAggregatorDecorator".
{
    "exception": {}
}
INFO 12:05:51 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "4eef3e"
    },
    "request_uri": "https://update.2nd-source.de/_profiler/4eef3e?panel=exception&type=request",
    "method": "GET"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\CorsListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\JsonRequestTransformerListener::onRequest".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\JsonRequestTransformerListener::onRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\ApiAuthenticationListener::setupOAuth".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\ApiAuthenticationListener::setupOAuth"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\FragmentListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::startSession".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::startSession"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\RouteParamsCleanupListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteParamsCleanupListener::__invoke"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Twig\TwigDateRequestListener::__invoke".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Twig\\TwigDateRequestListener::__invoke"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\CoreSubscriber::initializeCspNonce".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\CoreSubscriber::initializeCspNonce"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::maintenanceResolver".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::maintenanceResolver"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Storefront\Theme\Twig\ThemeNamespaceHierarchyBuilder::requestEvent".
{
    "event": "kernel.request",
    "listener": "Shopware\\Storefront\\Theme\\Twig\\ThemeNamespaceHierarchyBuilder::requestEvent"
}
DEBUG 12:05:51 event Notified event "kernel.request" to listener "Shopware\Core\Framework\Routing\RouteEventSubscriber::request".
{
    "event": "kernel.request",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteEventSubscriber::request"
}
INFO 12:05:51 php User Deprecated: The "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::__construct()" method is considered internal. It may change without further notice. You should not extend it from "Sas\BlogModule\Content\Cms\DataResolver\SasCmsSlotsDataResolver".
{
    "exception": {}
}
INFO 12:05:51 php User Deprecated: The "Shopware\Core\Content\Product\Cms\ProductDescriptionReviewsCmsElementResolver::__construct()" method is considered internal. It may change without further notice. You should not extend it from "TcinnThemeWareModern\Core\Content\Product\Cms\TcinnProductDescriptionReviewsAccordionCmsElementResolver".
{
    "exception": {}
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\SalesChannelAuthenticationListener::validateRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\SalesChannelAuthenticationListener::validateRequest"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\Authentication\ApiAuthenticationListener::validateRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\Authentication\\ApiAuthenticationListener::validateRequest"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Swag\PayPal\Checkout\ExpressCheckout\ExpressCheckoutSubscriber::mapShippingCallbackContextToken".
{
    "event": "kernel.controller",
    "listener": "Swag\\PayPal\\Checkout\\ExpressCheckout\\ExpressCheckoutSubscriber::mapShippingCallbackContextToken"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\ContextResolverListener::resolveContext"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\RouteEventSubscriber::controller".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteEventSubscriber::controller"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Routing\RouteScopeListener::checkScope".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Routing\\RouteScopeListener::checkScope"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\Acl\AclAnnotationValidator::validate".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\Acl\\AclAnnotationValidator::validate"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::preventPageLoadingFromXmlHttpRequest".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\Routing\\StorefrontSubscriber::preventPageLoadingFromXmlHttpRequest"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\Captcha\CaptchaRouteListener::validateCaptcha".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\Captcha\\CaptchaRouteListener::validateCaptcha"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Adapter\Cache\CacheStateSubscriber::setStates".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Adapter\\Cache\\CacheStateSubscriber::setStates"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Core\Framework\Api\EventListener\ExpectationSubscriber::checkExpectations".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Core\\Framework\\Api\\EventListener\\ExpectationSubscriber::checkExpectations"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Shopware\Storefront\Framework\AffiliateTracking\AffiliateTrackingListener::checkAffiliateTracking".
{
    "event": "kernel.controller",
    "listener": "Shopware\\Storefront\\Framework\\AffiliateTracking\\AffiliateTrackingListener::checkAffiliateTracking"
}
DEBUG 12:05:51 event Notified event "kernel.controller" to listener "Wbm\TagManagerAnalytics\Subscriber\KernelEventsSubscriber::getDataLayerForXmlHttpRequest".
{
    "event": "kernel.controller",
    "listener": "Wbm\\TagManagerAnalytics\\Subscriber\\KernelEventsSubscriber::getDataLayerForXmlHttpRequest"
}
DEBUG 12:05:51 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
DEBUG 12:05:51 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}
DEBUG 12:05:51 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}

Stack Trace

OAuthServerException
League\OAuth2\Server\Exception\OAuthServerException:
Client authentication failed

  at vendor/league/oauth2-server/src/Exception/OAuthServerException.php:105
  at League\OAuth2\Server\Exception\OAuthServerException::invalidClient(object(ServerRequest))
     (vendor/league/oauth2-server/src/Grant/AbstractGrant.php:189)
  at League\OAuth2\Server\Grant\AbstractGrant->getClientEntityOrFail('SWIAZUHVNJYYBWHMSKJYVGVFRW', object(ServerRequest))
     (vendor/league/oauth2-server/src/Grant/AbstractGrant.php:154)
  at League\OAuth2\Server\Grant\AbstractGrant->validateClient(object(ServerRequest))
     (vendor/league/oauth2-server/src/Grant/ClientCredentialsGrant.php:37)
  at League\OAuth2\Server\Grant\ClientCredentialsGrant->respondToAccessTokenRequest(object(ServerRequest), object(BearerTokenResponse), object(DateInterval))
     (vendor/league/oauth2-server/src/AuthorizationServer.php:176)
  at League\OAuth2\Server\AuthorizationServer->respondToAccessTokenRequest(object(ServerRequest), object(Response))
     (vendor/shopware/core/Framework/Api/Controller/AuthController.php:49)
  at Shopware\Core\Framework\Api\Controller\AuthController->token(object(Request))
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:72)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(object(HttpKernel), object(Request), 1, true)
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:466)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(object(Request), true)
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:268)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(object(Request), true)
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:282)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(object(Request), true)
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:202)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(object(Request), 1, true)
     (vendor/shopware/core/Framework/Adapter/Kernel/HttpCacheKernel.php:61)
  at Shopware\Core\Framework\Adapter\Kernel\HttpCacheKernel->handle(object(Request), 1, true)
     (vendor/shopware/core/Kernel.php:129)
  at Shopware\Core\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/www/htdocs/w01a0428/2nd-source.de-2025/sw6.2nd-source.de/vendor/autoload_runtime.php')
     (public/index.php:10)