POST https://api.astro-otter.space/auth

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_firewall_context
"security.firewall.map.context.api_login"
_route
"auth"
_route_params
[]
_security_firewall_run
"_security_api_login"
_stopwatch_token
"4b3f4b"

Request Headers

Header Value
accept
"application/json"
accept-encoding
"gzip"
accept-language
"zh-CN,zh;q=0.9,en;q=0.8"
content-length
"85"
content-type
"application/json"
host
"api.astro-otter.space"
origin
"https://astro-otter.space"
referer
"https://astro-otter.space/"
user-agent
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.114 Safari/537.36"
x-php-ob-level
"1"

Request Content

Pretty

{
    "email": "anonymous@astro-otter.space",
    "password": "9tvZbdkLUuwy6LxkRtpp94zPTf3HRr22"
}

Raw

{"email":"anonymous@astro-otter.space","password":"9tvZbdkLUuwy6LxkRtpp94zPTf3HRr22"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Sat, 25 Oct 2025 06:54:36 GMT"
x-debug-token
"74aec8"

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
APP_ENV
"dev"
APP_SECRET
"977c5789c4e006b29bfe84c67a6b409a"
ASTROBIN_API_KEY
"3524e6ee81749ea19a1ed0f14c5390efb4ac578f"
ASTROBIN_API_SECRET
"6f0a67f7aeb93cbce4addec000fca9991876df63"
CORS_ALLOW_ORIGIN
"^https?:\/\/(localhost|127\.0\.0\.1|(?:[a-zA-Z]+\.)?astro-otter\.space)(:[0-9]+)?$"
DATABASE_URL
"postgresql://spaceotterastro:Sw48DdNZQXOnkgbFCrqpIP3hs0f5R2iEmcKeoUBWYJx1HGjM@localhost:5432/astrootterdb"
ELASTICSEARCH_HOST
"http://localhost:9200"
GMAIL_APP_PWD
"bfivgluijujusamb"
GMAIL_LOGIN
"astro.otter.space"
GMAIL_MAIL
"astro.otter.space@gmail.com"
JWT_PASSPHRASE
"lazerbazoonibbler"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
JWT_TTL
"259200"
MAILER_DSN
"gmail+smtp://:@default"
MERCURE_JWT_SECRET
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOlsiKiJdfX0.j-HztO7kyP4TW0vqOY5dr_7Zi21H6vl4PphMTwAAq4c"
MERCURE_PUBLIC_URL
"https://mercure.astro-otter.space/.well-known/mercure"
MERCURE_URL
"http://localhost:3000/.well-known/mercure"
NUXT_PAGE_API_URL
"https://www.astro-otter.space/pages/api-documentation"
REDIS_URL
"redis://localhost:6379"
SENDER_MAIL
"astro.otter.space@gmail.com"
TRUSTED_HOSTS
"^(.+\.)?astro-otter\.space"
TRUSTED_PROXIES
"127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"85"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/Astro-Otter/api/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.9,en;q=0.8"
HTTP_CONTENT_LENGTH
"85"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"api.astro-otter.space"
HTTP_ORIGIN
"https://astro-otter.space"
HTTP_REFERER
"https://astro-otter.space/"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.114 Safari/537.36"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"43.173.182.58"
REMOTE_PORT
"38754"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1761375275
REQUEST_TIME_FLOAT
1761375275.6723
REQUEST_URI
"/auth"
SCRIPT_FILENAME
"/var/www/Astro-Otter/api/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.91.124.95"
SERVER_NAME
"api.astro-otter.space"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_VARS
"TRUSTED_PROXIES,TRUSTED_HOSTS,APP_ENV,APP_SECRET,DATABASE_URL,REDIS_URL,CORS_ALLOW_ORIGIN,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TTL,ASTROBIN_API_KEY,ASTROBIN_API_SECRET,ELASTICSEARCH_HOST,MAILER_DSN,GMAIL_LOGIN,GMAIL_APP_PWD,SENDER_MAIL,GMAIL_MAIL,NUXT_PAGE_API_URL"
USER
"www-data"