https://sasse-teppichshop.de/api/oauth/token Return to referer URL

AuthController :: token

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
client_id
"administration"
grant_type
"password"
password
"123geheim#"
scopes
"write"
username
"admin"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Core\Framework\Api\Controller\AuthController::token"
_cspNonce
"KgP2ycy3PvA="
_route
"api.oauth.token"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_since
Shopware\Core\Framework\Routing\Annotation\Since {#1734
  -value: "6.0.0.0"
}
_stopwatch_token
"8521ec"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#1748
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #currencyFactor: 1.0
  #scope: "system"
  #ruleIds: []
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#1751 …}
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1747 …}
  -states: []
}

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br"
accept-language
"de,en-US;q=0.7,en;q=0.3"
content-length
"114"
content-type
"application/json"
cookie
"timezone=Europe/Berlin; cookie-preference=1"
host
"sasse-teppichshop.de"
origin
"https://sasse-teppichshop.de"
referer
"https://sasse-teppichshop.de/admin"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
te
"trailers"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0"
x-php-ob-level
"1"

Request Content

Pretty

{
    "grant_type": "password",
    "client_id": "administration",
    "scopes": "write",
    "username": "admin",
    "password": "123geheim#"
}

Raw

{"grant_type":"password","client_id":"administration","scopes":"write","username":"admin","password":"123geheim#"}

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,fail-on-error,indexing-behavior,single-operation,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,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls"
cache-control
"no-store, private"
content-security-policy
"object-src 'none'; script-src 'none'; base-uri 'self';"
content-type
"application/json; charset=UTF-8"
date
"Sat, 11 May 2024 17:02:10 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
"5a41fa"
x-frame-options
"deny"

Cookies

Request Cookies

Key Value
cookie-preference
"1"
timezone
"Europe/Berlin"

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
"8583a6ff63c5894a3195331701749943"
APP_URL
"https://sasse-teppichshop.de/"
BLUE_GREEN_DEPLOYMENT
"1"
DATABASE_URL
"mysql://c1admin:6jLdzc!WKM@127.0.0.1:3306/c1_shop_live"
DOCKER_SYNC_ENABLED
""
FEATURE_NEXT_15957
"1"
FEATURE_NEXT_16640
"1"
FEATURE_NEXT_19604
"1"
FEATURE_NEXT_516
"1"
GROUP_ID
"20"
INSTANCE_ID
""
LOCK_DSN
"flock"
MAILER_DSN
"null"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"elasticsearch:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"0"
SHOPWARE_HTTP_CACHE_ENABLED
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
SHOPWARE_SCHEDULED_TASKS_DISABLED
"0"
USER_ID
"501"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
COMPOSER_HOME
"/var/www/sasse-teppichshop.de/web/shop.live/current/var/cache/composer"
CONTENT_LENGTH
"114"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/sasse-teppichshop.de/web/shop.live/current/public/"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/clients/client1/web2/./home/web2"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"de,en-US;q=0.7,en;q=0.3"
HTTP_CONTENT_LENGTH
"114"
HTTP_CONTENT_TYPE
"application/json"
HTTP_COOKIE
"timezone=Europe/Berlin; cookie-preference=1"
HTTP_HOST
"sasse-teppichshop.de"
HTTP_ORIGIN
"https://sasse-teppichshop.de"
HTTP_REFERER
"https://sasse-teppichshop.de/admin"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_TE
"trailers"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0"
PATH
"/usr/local/bin:/usr/bin"
PATH_INFO
""
PHP_SELF
""
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"178.24.229.95"
REMOTE_PORT
"61048"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1715446929
REQUEST_TIME_FLOAT
1715446929.9748
REQUEST_URI
"/api/oauth/token"
SCRIPT_FILENAME
"/var/www/clients/client1/web2/web/shop.live/releases/2/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"176.9.190.70"
SERVER_NAME
"sasse-teppichshop.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.25.2"
SYMFONY_DOTENV_VARS
"LOCK_DSN,APP_ENV,APP_SECRET,APP_URL,INSTANCE_ID,DATABASE_URL,BLUE_GREEN_DEPLOYMENT,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,SHOPWARE_SCHEDULED_TASKS_DISABLED,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,DOCKER_SYNC_ENABLED,USER_ID,GROUP_ID,FEATURE_NEXT_516,FEATURE_NEXT_15957,FEATURE_NEXT_16640,FEATURE_NEXT_19604,SHOPWARE_CDN_STRATEGY_DEFAULT,MAILER_DSN"
TEMP
"/var/www/clients/client1/web2/tmp"
TMP
"/var/www/clients/client1/web2/tmp"
TMPDIR
"/var/www/clients/client1/web2/tmp"
USER
"web2"