Playground Authentication

Authentication

Playground API — Free Stateful Mock REST & GraphQL Service declares 1 security scheme(s) across its OpenAPI definitions.

Developer ToolsTestingMock APIapi-sandboxRESTGraphQLE2E Testing
Methods: Schemes: 1 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-09-14'
method: searched
source: >-
  https://playground.nileslabs.com/llms-full.txt (Resource: Authentication) and
  https://playground.nileslabs.com/product.json (authentication block), fetched
  2026-09-14. The published OpenAPI declares no securitySchemes, so this profile
  is authored from the provider's own documentation.
api: Playground REST API
summary: >-
  The API is public and requires NO authentication for the mock data surface
  (users, posts, comments, todos, custom collections, media, session). A
  SIMULATED JWT flow exists purely so developers can exercise bearer-protected
  routes: POST /auth/login and POST /auth/register return signed HS256 JWT
  access + refresh tokens, POST /auth/refresh rotates them, and GET/PATCH
  /auth/me require an Authorization: Bearer <access_token> header. Tokens are
  cosmetic sandbox artifacts, not real credentials — any username/password is
  accepted and no account is provisioned.
required: false
schemes:
  - name: bearerAuth
    type: http
    scheme: bearer
    bearerFormat: JWT
    description: >-
      Simulated JWT bearer token obtained from POST /auth/login, /auth/register
      or /auth/refresh. Applies only to GET /auth/me and PATCH /auth/me. Access
      token lifetime is 900 seconds (expires_in), refreshable via the refresh
      token. Not a real credential; issued to any caller.
    applies_to:
      - GET /api/v1/auth/me
      - PATCH /api/v1/auth/me
session_identity:
  description: >-
    Session state (the per-session mutation overlay), not authentication, is how
    Playground isolates callers. In browsers, send credentials: 'include' /
    withCredentials so the session cookie is carried. In non-browser clients
    (Node, Playwright, cURL) send a stable X-Playground-Identity: <session-id>
    header to bind mutations to a private overlay.
  browser: cookie via credentials:'include'
  non_browser_header: X-Playground-Identity
token_endpoints:
  login: POST /api/v1/auth/login
  register: POST /api/v1/auth/register
  refresh: POST /api/v1/auth/refresh
  profile: GET /api/v1/auth/me
notes: >-
  No OAuth2/OIDC: /.well-known/openid-configuration and
  /.well-known/oauth-authorization-server both 404. No API keys, no signup, no
  billing. MIT licensed.

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/playground-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.