https://dev.artecon.426.agency/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
"m63U0ynLnLGh"
scopes
"write"
username
"admin"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en-US,en;q=0.9,it;q=0.8,it-IT;q=0.7,de;q=0.6"
connection
"keep-alive"
content-length
"116"
content-type
"application/json"
cookie
"timezone=Europe/Rome; _dis_ga=_ga; _dis_gtag=_gtag; zen_google_fonts=1; _dis_gads=_gads; _gcl_au=1.1.1921316719.1721917008; _ga=GA1.1.1840805534.1721917008; _ga_2QYCHENNSE=GS1.1.1721976172.2.1.1721979154.60.0.0; cookie-preference=1"
forwarded
"for="89.190.184.61";host="dev.artecon.426.agency";proto=https"
host
"dev.artecon.426.agency"
origin
"https://dev.artecon.426.agency"
referer
"https://dev.artecon.426.agency/admin"
sec-ch-ua
""Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
x-forwarded-for
"89.190.184.61"
x-php-ob-level
"1"

Request Content

Pretty

{
    "grant_type": "password",
    "client_id": "administration",
    "scopes": "write",
    "username": "admin",
    "password": "m63U0ynLnLGh"
}

Raw

{"grant_type":"password","client_id":"administration","scopes":"write","username":"admin","password":"m63U0ynLnLGh"}

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
"Fri, 04 Oct 2024 08:24:02 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
"45a910"
x-frame-options
"deny"

Cookies

Request Cookies

Key Value
_dis_ga
"_ga"
_dis_gads
"_gads"
_dis_gtag
"_gtag"
_ga
"GA1.1.1840805534.1721917008"
_ga_2QYCHENNSE
"GS1.1.1721976172.2.1.1721979154.60.0.0"
_gcl_au
"1.1.1921316719.1721917008"
cookie-preference
"1"
timezone
"Europe/Rome"
zen_google_fonts
"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
"def000003a7861bc10b867208d1ca72dec7c4852acb74e1b7eceb999b4c163c20cebadbc7c615d27af0f35de8bcfd44e765428f45e5aae72b288a57452d562bb03c54650"
APP_URL
"https://dev.artecon.426.agency"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/dev.artecon.426.agency/var/cache/composer"
DATABASE_URL
"mysql://artecon_shopware6:6cXR44Wfpj3q@localhost:3306/artecon_staging_shopware6"
INSTANCE_ID
"nO7ZpMAA9bqThhwwSea6G2wNm9EdYByf"
LOCK_DSN
"flock"
MAILER_DSN
"null://null"
SHOPWARE_CACHE_ID
"artecon_staging"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"http://localhost:9200"
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
"116"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/dev.artecon.426.agency/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/dev.artecon.426.agency/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9,it;q=0.8,it-IT;q=0.7,de;q=0.6"
HTTP_CONNECTION
"keep-alive"
HTTP_COOKIE
"timezone=Europe/Rome; _dis_ga=_ga; _dis_gtag=_gtag; zen_google_fonts=1; _dis_gads=_gads; _gcl_au=1.1.1921316719.1721917008; _ga=GA1.1.1840805534.1721917008; _ga_2QYCHENNSE=GS1.1.1721976172.2.1.1721979154.60.0.0; cookie-preference=1"
HTTP_FORWARDED
"for="89.190.184.61";host="dev.artecon.426.agency";proto=https"
HTTP_HOST
"dev.artecon.426.agency"
HTTP_ORIGIN
"https://dev.artecon.426.agency"
HTTP_REFERER
"https://dev.artecon.426.agency/admin"
HTTP_SEC_CH_UA
""Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129""
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/129.0.0.0 Safari/537.36"
HTTP_X_FORWARDED_FOR
"89.190.184.61"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"dev.artecon.426.agency"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/oauth/token"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"52897"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1728030242
REQUEST_TIME_FLOAT
1728030242.8681
REQUEST_URI
"/api/oauth/token"
SCRIPT_FILENAME
"/var/www/dev.artecon.426.agency/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"89.22.120.22"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"dev.artecon.426.agency"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at dev.artecon.426.agency Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"dev.artecon.426.agency"
SYMFONY_DOTENV_VARS
"LOCK_DSN,MAILER_DSN,APP_ENV,APP_SECRET,APP_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CACHE_ID"
USER
"www-data"
proxy-nokeepalive
"1"