Admin::Auth API

In order to access the ActiveAdmin panel and other admin tools like Sidekiq, you must have a cookie based session. This is setup by passing your JWT to this endpoint.

create admin session

Request

Headers

Version: HTTP/1.0
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNDYsImV4cCI6MTc1NDU5NjQ4MywiaWF0IjoxNzU0NTk2MzAzfQ.uLIngVERDf0zloMmKD3VZCYE2Dggd2tC3V4pQP0Saqs
Host: example.org
Cookie: 

Route

POST /admin/auth

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json
Cache-Control: no-cache
Set-Cookie: _session_id=cd3d38ada482a1ddfccce89847b6302c; path=/; expires=Thu, 14 Aug 2025 19:51:43 GMT; HttpOnly; SameSite=Lax
X-Request-Id: f64d9582-8748-43c7-89a3-aace334d361c
X-Runtime: 0.016919
Content-Length: 0

Status

201