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.eyJ1c2VyX2lkIjoyNTAsImV4cCI6MTcwNDQ3MzI0MCwiaWF0IjoxNzA0NDczMDYwfQ.bW1WRHxffDRn8k67HggJxIkJ4PTWMtOU_vCVhtg4OzI
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=ce317e6a59ea6ec0d7302fdf24c0b317; path=/; expires=Fri, 12 Jan 2024 16:44:20 GMT; HttpOnly; SameSite=Lax
X-Request-Id: 78cee263-5f6c-4d87-b991-019f872aeb9f
X-Runtime: 0.021056
Content-Length: 0

Status

201