POST https://staging.promoshirt.ch/api/oauth/token

AuthController :: token

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
client_id
"SWIARFZBAWTZRVDQNTVLUWVSWG"
client_secret
"cHd0dE9WWWJhVVR1ZUVGTWxSanFmcHppV2lxdjhMVHVZRzNTZDk"
grant_type
"client_credentials"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Core\Framework\Api\Controller\AuthController::token"
_cspNonce
"ANXbOv3YGyc="
_route
"api.oauth.token"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"7f5416"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#1437
  #extensions: []
  #scope: "system"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#1438 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1455 …}
  #states: []
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"br, gzip, deflate"
accept-language
"*"
connection
"close"
content-length
"146"
content-type
"application/json"
forwarded
"for="3.122.100.224";host="staging.promoshirt.ch";proto=https"
host
"staging.promoshirt.ch"
sec-fetch-mode
"cors"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"TrustedShopsConnectAgent / 1.0"
x-accel-internal
"/internal-nginx-static-location"
x-forwarded-for
"3.122.100.224"
x-instana-l
"1"
x-instana-s
"22b95b0629f96dea"
x-instana-t
"8421e0fadf08d277"
x-php-ob-level
"1"
x-real-ip
"3.122.100.224"

Request Content

Pretty

{
    "grant_type": "client_credentials",
    "client_id": "SWIARFZBAWTZRVDQNTVLUWVSWG",
    "client_secret": "cHd0dE9WWWJhVVR1ZUVGTWxSanFmcHppV2lxdjhMVHVZRzNTZDk"
}

Raw

{"grant_type":"client_credentials","client_id":"SWIARFZBAWTZRVDQNTVLUWVSWG","client_secret":"cHd0dE9WWWJhVVR1ZUVGTWxSanFmcHppV2lxdjhMVHVZRzNTZDk"}

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
cache-control
"no-store, private"
content-security-policy
"object-src 'none'; script-src 'none'; base-uri 'self'; frame-ancestors 'none';"
content-type
"application/json; charset=UTF-8"
date
"Fri, 01 May 2026 12:04:27 GMT"
pragma
"no-cache"
referrer-policy
"strict-origin-when-cross-origin"
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"5adb10"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
ADMIN_OPENSEARCH_URL
"http://admin:vevkut-4junmy-majVyg@v2202501241064308275.happysrv.de:9200"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"def000009542f99d3779c1c89edefd95225cd4cd3a8e7021b5bee34131c98b69cbb859dc54163dc22b83f13f4739617a4f265be2c3e094fb7d55b15796e801031db64bb1"
APP_URL
"https://staging.promoshirt.ch"
BLUE_GREEN_DEPLOYMENT
"0"
COMPOSER_HOME
"/var/www/vhosts/promoshirt.ch/httpdocs/staging/var/cache/composer"
DATABASE_URL
"mysql://shopware_staging_usr:0oUl%3Fd277@localhost:3306/shopware_staging"
INSTANCE_ID
"QEVeJT3zQUyDv9l8HbhhnqwP7ZtkrGza"
LOCK_DSN
"flock"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
OPENSEARCH_URL
"http://admin:vevkut-4junmy-majVyg@v2202501241064308275.happysrv.de:9200"
PROXY_URL
"http://localhost"
SHOPWARE_ADMIN_ES_ENABLED
"0"
SHOPWARE_ADMIN_ES_INDEX_PREFIX
"sw-admin"
SHOPWARE_ADMIN_ES_REFRESH_INDICES
"0"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_PROJECT_DIR
"/var/www/vhosts/promoshirt.ch/httpdocs/staging"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/vhosts/promoshirt.ch/httpdocs/staging"
]
CONTENT_LENGTH
"146"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/promoshirt.ch/httpdocs/staging/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/promoshirt.ch/httpdocs/staging/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"br, gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"*"
HTTP_CONNECTION
"close"
HTTP_FORWARDED
"for="3.122.100.224";host="staging.promoshirt.ch";proto=https"
HTTP_HOST
"staging.promoshirt.ch"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_USER_AGENT
"TrustedShopsConnectAgent / 1.0"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_FORWARDED_FOR
"3.122.100.224"
HTTP_X_INSTANA_L
"1"
HTTP_X_INSTANA_S
"22b95b0629f96dea"
HTTP_X_INSTANA_T
"8421e0fadf08d277"
HTTP_X_REAL_IP
"3.122.100.224"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
PP_CUSTOM_PHP_CGI_INDEX
"php83-fastcgi-nc"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/staging.promoshirt.ch/etc/php.ini"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_SSL_TLS_SNI
"staging.promoshirt.ch"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/oauth/token"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"57046"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1777637067
REQUEST_TIME_FLOAT
1777637067.2749
REQUEST_URI
"/api/oauth/token"
SCRIPT_FILENAME
"/var/www/vhosts/promoshirt.ch/httpdocs/staging/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"127.0.0.1"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"staging.promoshirt.ch"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at staging.promoshirt.ch Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"staging.promoshirt.ch"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/promoshirt.ch/httpdocs/staging/.env"
SYMFONY_DOTENV_VARS
"LOCK_DSN,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,COMPOSER_HOME,APP_DEBUG,ADMIN_OPENSEARCH_URL,SHOPWARE_ADMIN_ES_ENABLED,SHOPWARE_ADMIN_ES_REFRESH_INDICES,SHOPWARE_ADMIN_ES_INDEX_PREFIX,MESSENGER_TRANSPORT_DSN"