POST https://hermeta.shop/api/oauth/token

AuthController :: token

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
client_id
"administration"
grant_type
"refresh_token"
refresh_token
"def502008253ac249b6068d3a91a2c1c6840a35ce5525a269d782ca3088ecf2f4adcd91426f5d8967c5ea9871f69ca4f0381aecb09e32f07e543b99b5f13e57b6d149516cf7fb9ba7e52cdf4c452ae158679664f049f96bb00b4eff1f4a134966feb5ee49da289ea2a99cef2eabf2084ae9b0136b65b496e265277251900d1f55c6614dd36175a5cc451d7ca6e54b8bda7071a74e842d7f22c3ce265dc775c191ff08c1ba9fb3056c614de5bbb7b196ad0e0714557745447872e762b6f49e2b04a427dd36750652ace14e7513b721ee7d36101583ee13a689b94aefd51c44991ba7bedf8f63941d59dd884e1e17dd9139ebbb9ab2198719954f51e07b181767f39d7f3789b1d949003361ff732fa212a750ccf7bf0b6f9808dc356d7e6708ba5e2e96618090a9a422576a0442e4b8be6d8295c7bd733b94d0237e809c04af11a8735a9e64f6075b1c92ab1da0cdab40797669ab91f3f315c1dbef5db1d39150514cb9495fb96195daf40f1ffc32f3b773d5804cd87edd9e377362644b430e2f6f8f38edff6b9fd3b32a486c6cf4463f9d92dfc9fe2b5689b4ef3de1bb101"
scopes
"write"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br"
accept-language
"en-US,en;q=0.9,nl;q=0.8"
content-length
"923"
content-type
"application/json"
cookie
"timezone=Europe/Amsterdam; google-analytics-enabled=1; google-ads-enabled=1; wishlist-enabled=1; youtube-video=1; cookie-preference=1; session-=c6rl3qcr6t0m7btak2f362tji4"
forwarded
"for="62.212.133.114";host="hermeta.shop";proto=https"
host
"hermeta.shop"
origin
"https://hermeta.shop"
priority
"u=1, i"
referer
"https://hermeta.shop/admin"
sec-ch-ua
""Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
x-forwarded-for
"62.212.133.114"
x-php-ob-level
"1"

Request Content

Pretty

{
    "grant_type": "refresh_token",
    "client_id": "administration",
    "scopes": "write",
    "refresh_token": "def502008253ac249b6068d3a91a2c1c6840a35ce5525a269d782ca3088ecf2f4adcd91426f5d8967c5ea9871f69ca4f0381aecb09e32f07e543b99b5f13e57b6d149516cf7fb9ba7e52cdf4c452ae158679664f049f96bb00b4eff1f4a134966feb5ee49da289ea2a99cef2eabf2084ae9b0136b65b496e265277251900d1f55c6614dd36175a5cc451d7ca6e54b8bda7071a74e842d7f22c3ce265dc775c191ff08c1ba9fb3056c614de5bbb7b196ad0e0714557745447872e762b6f49e2b04a427dd36750652ace14e7513b721ee7d36101583ee13a689b94aefd51c44991ba7bedf8f63941d59dd884e1e17dd9139ebbb9ab2198719954f51e07b181767f39d7f3789b1d949003361ff732fa212a750ccf7bf0b6f9808dc356d7e6708ba5e2e96618090a9a422576a0442e4b8be6d8295c7bd733b94d0237e809c04af11a8735a9e64f6075b1c92ab1da0cdab40797669ab91f3f315c1dbef5db1d39150514cb9495fb96195daf40f1ffc32f3b773d5804cd87edd9e377362644b430e2f6f8f38edff6b9fd3b32a486c6cf4463f9d92dfc9fe2b5689b4ef3de1bb101"
}

Raw

{"grant_type":"refresh_token","client_id":"administration","scopes":"write","refresh_token":"def502008253ac249b6068d3a91a2c1c6840a35ce5525a269d782ca3088ecf2f4adcd91426f5d8967c5ea9871f69ca4f0381aecb09e32f07e543b99b5f13e57b6d149516cf7fb9ba7e52cdf4c452ae158679664f049f96bb00b4eff1f4a134966feb5ee49da289ea2a99cef2eabf2084ae9b0136b65b496e265277251900d1f55c6614dd36175a5cc451d7ca6e54b8bda7071a74e842d7f22c3ce265dc775c191ff08c1ba9fb3056c614de5bbb7b196ad0e0714557745447872e762b6f49e2b04a427dd36750652ace14e7513b721ee7d36101583ee13a689b94aefd51c44991ba7bedf8f63941d59dd884e1e17dd9139ebbb9ab2198719954f51e07b181767f39d7f3789b1d949003361ff732fa212a750ccf7bf0b6f9808dc356d7e6708ba5e2e96618090a9a422576a0442e4b8be6d8295c7bd733b94d0237e809c04af11a8735a9e64f6075b1c92ab1da0cdab40797669ab91f3f315c1dbef5db1d39150514cb9495fb96195daf40f1ffc32f3b773d5804cd87edd9e377362644b430e2f6f8f38edff6b9fd3b32a486c6cf4463f9d92dfc9fe2b5689b4ef3de1bb101"}

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
"Thu, 23 Jan 2025 13:28:10 GMT"
pragma
"no-cache"
referrer-policy
"strict-origin-when-cross-origin"
server-timing
""
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"374f9c"
x-frame-options
"deny"

Cookies

Request Cookies

Key Value
cookie-preference
"1"
google-ads-enabled
"1"
google-analytics-enabled
"1"
session-
"c6rl3qcr6t0m7btak2f362tji4"
timezone
"Europe/Amsterdam"
wishlist-enabled
"1"
youtube-video
"1"

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
APP_ENV
"dev"
APP_SECRET
"def0000091532cba8725f6d957e27cc73c162192efb0542ba284661da74d013dc199ab107f32d2149edbe370abe35b38fe2a2fbc76f9c699e8840d1e4fed8bdd58d4ef95"
APP_URL
"https://hermeta.shop"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/srv/www/hermeta/var/cache/composer"
DATABASE_URL
"mysql://mariadbadm:gfb%2BCaq7cbNa.UQGJG@localhost:3306/swag_hermeta"
INSTANCE_ID
"EgXabSdYUgn5BhNBqhs5aDkkXvG2Kpac"
LOCK_DSN
"flock"
MAILER_URL
"null://localhost"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
""
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_DEBUG
"1"
CONTENT_LENGTH
"923"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/srv/www/hermeta/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/srv/www/hermeta/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"3"
H2_STREAM_TAG
"293101-77-3"
HOME
"/var/www"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9,nl;q=0.8"
HTTP_COOKIE
"timezone=Europe/Amsterdam; google-analytics-enabled=1; google-ads-enabled=1; wishlist-enabled=1; youtube-video=1; cookie-preference=1; session-=c6rl3qcr6t0m7btak2f362tji4"
HTTP_FORWARDED
"for="62.212.133.114";host="hermeta.shop";proto=https"
HTTP_HOST
"hermeta.shop"
HTTP_ORIGIN
"https://hermeta.shop"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://hermeta.shop/admin"
HTTP_SEC_CH_UA
""Not A(Brand";v="8", "Chromium";v="132", "Microsoft Edge";v="132""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
HTTP_X_FORWARDED_FOR
"62.212.133.114"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"3"
REDIRECT_H2_STREAM_TAG
"293101-77-3"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"hermeta.shop"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/oauth/token"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"58390"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737638889
REQUEST_TIME_FLOAT
1737638889.932
REQUEST_URI
"/api/oauth/token"
SCRIPT_FILENAME
"/srv/www/hermeta/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"144.76.29.52"
SERVER_ADMIN
"webmaster@shopware.skyco.de"
SERVER_NAME
"hermeta.shop"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at hermeta.shop Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SSL_TLS_SNI
"hermeta.shop"
SYMFONY_DOTENV_PATH
"/srv/www/hermeta/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_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,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT"
USER
"www-data"
proxy-nokeepalive
"1"