SentinelX Auth API

The Auth API from SentinelX — 5 operation(s) for auth.

GitHub OpenAPI

Operations 5

POST /auth/dcr Dcr Public Proxy #
GET /auth/enroll/start Enroll Start #
GET /auth/enroll/callback Enroll Callback #
GET /auth/dashboard/enroll Dashboard Enroll #
GET /auth/dashboard/enroll/callback Dashboard Enroll Callback #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/sentinelx-app:sentinelx-app-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sentinelx-app-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SentinelX Hub Auth API
  description: MCP server + WebSocket bridge to sentinelx-core agents
  version: 0.57.61
tags:
- name: Auth
paths:
  /auth/dcr:
    post:
      summary: Dcr Public Proxy
      description: 'DCR proxy that forces PUBLIC clients for loopback/desktop redirects.


        Keycloak''s Dynamic Client Registration defaults new clients to confidential

        (client_secret_basic). Desktop MCP clients (VS Code, Android Studio, Cursor)

        use loopback redirects + PKCE, and some (Android Studio) mishandle

        confidential+PKCE, breaking the token exchange. For loopback redirects we

        set token_endpoint_auth_method=none (public). Web clients (claude.ai,

        chatgpt.com) are forwarded untouched — they register confidential and work.

        nginx routes Keycloak''s public registration endpoint here; we forward to

        Keycloak''s internal endpoint to avoid looping through that same intercept.'
      operationId: dcr_public_proxy_auth_dcr_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Auth
  /auth/enroll/start:
    get:
      tags:
      - Auth
      summary: Enroll Start
      description: Kick off the enrollment OAuth flow.
      operationId: enroll_start_auth_enroll_start_get
      parameters:
      - name: host_id
        in: query
        required: true
        schema:
          type: string
          minLength: 8
          maxLength: 64
          title: Host Id
      - name: callback
        in: query
        required: true
        schema:
          type: string
          description: Local URL the installer is listening on
          title: Callback
        description: Local URL the installer is listening on
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/enroll/callback:
    get:
      tags:
      - Auth
      summary: Enroll Callback
      description: Keycloak redirects back here. We mint a JWT and bounce to the installer.
      operationId: enroll_callback_auth_enroll_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/dashboard/enroll:
    get:
      tags:
      - Auth
      summary: Dashboard Enroll
      description: 'Like /enroll/start, but instead of redirecting back to localhost, the

        callback renders an HTML page with the enrollment token for the user to copy.'
      operationId: dashboard_enroll_auth_dashboard_enroll_get
      parameters:
      - name: host_id
        in: query
        required: true
        schema:
          type: string
          minLength: 8
          maxLength: 64
          title: Host Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/dashboard/enroll/callback:
    get:
      tags:
      - Auth
      summary: Dashboard Enroll Callback
      description: Keycloak redirects here after login. Render the token in HTML.
      operationId: dashboard_enroll_callback_auth_dashboard_enroll_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError