CodeB Oidc Op API

OpenID Connect Provider — authorize/token/userinfo/discovery/JWKS

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /.well-known/openid-configuration OIDC discovery document (alias: /oauth2/v1/.well-known/openid-configuration +… #
GET /.well-known/jwks.json JWKS (alias: /oauth2/v1/keys + /oidc.ashx?action=jwks) #
GET /oauth2/v1/authorize Authorization endpoint (RFC 6749 §3.1). Aliases: /oidc.ashx?action=authorize #
POST /oauth2/v1/authorize Same as GET /authorize but form-encoded #
POST /oauth2/v1/token Token endpoint (RFC 6749 §3.2) — supports authorization_code, refresh_token… #
GET /oauth2/v1/userinfo Userinfo endpoint (RFC 6749 §7). Alias: /oidc.ashx?action=userinfo #
GET /oauth2/v1/logout End Session endpoint (OIDC RP-Initiated Logout 1.0). #
POST /oauth2/v1/revoke RFC 7009 token revocation. Alias: /oidc.ashx?action=revoke #
POST /oauth2/v1/introspect RFC 7662 token introspection. Alias: /oidc.ashx?action=introspect #

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/codeb:codeb-oidc-op-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

codeb-oidc-op-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CodeB Sovereign Communications — Public Oidc Op API
  version: 2026-10-13 csc-rqes
  summary: REST + WebSocket + OpenID Connect + OpenID4VP + OpenID4VCI + LOTL + Federation + SIP-over-WebSocket surface, all multi-tenant by Host header. Aloaha-owned, built from scratch, hosted in Malta.
  description: 'This spec covers every publicly reachable endpoint exposed by the CodeB Sovereign Communications platform: the OIDC provider + EU Wallet verifier (oidc.ashx), the OpenID4VCI issuer (vci.ashx), the LOTL trust-anchor cache (lotl.ashx), the RP-certificate CA (rp-cert.ashx), the chat + file-transfer platform (chat.ashx + chat-ws.ashx + chat-invite/widget/email .ashx), the property-management inbox (pms.ashx), the per-tenant admin surface (signal.ashx), the v1 REST outbound-AI + numbers + transcripts (api.ashx/v1), the bridge health passthroughs (/sip-tls/health, /sip-ws/health, /sfu/health), and remote signing for EU Digital Identity Wallets (CSC v2 profile /rqes/csc/v2, also answered at /csc/rqes/v2, on csc.ashx + its OAuth 2.0 server csc-oauth.ashx). Every endpoint is tenant-scoped by the Host header; there is no cross-tenant data access. Import this file into Postman, Insomnia, Swagger UI or any OpenAPI-3-compatible tool to explore the surface. Machine-generated clients welcome. Authentication: `oidc-bearer` = an OIDC access-token minted by /oauth2/v1/token; `hmac-admin` = X-CodeB-Admin-Signature header = hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + ''|'' + Host)). Many admin endpoints accept EITHER bearer OR HMAC.'
  contact:
    name: Aloaha Limited
    url: https://www.aloaha.com/contact.html
  license:
    name: Proprietary — Aloaha Limited
    url: https://www.aloaha.com/legal.html
  termsOfService: https://www.aloaha.com/legal.html
servers:
- url: https://phone.aloaha.com
  description: Primary production tenant
- url: https://phone.codeb.io
  description: Development / conformance tenant
- url: https://{tenant}
  description: Any tenant domain — replace {tenant} with your provisioned host
  variables:
    tenant:
      default: phone.aloaha.com
security: []
tags:
- name: oidc-op
  description: OpenID Connect Provider — authorize/token/userinfo/discovery/JWKS
paths:
  /.well-known/openid-configuration:
    get:
      tags:
      - oidc-op
      operationId: getDiscovery
      summary: 'OIDC discovery document (alias: /oauth2/v1/.well-known/openid-configuration +…'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OidcDiscovery'
  /.well-known/jwks.json:
    get:
      tags:
      - oidc-op
      operationId: getJwks
      summary: 'JWKS (alias: /oauth2/v1/keys + /oidc.ashx?action=jwks)'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Jwks'
  /oauth2/v1/authorize:
    get:
      tags:
      - oidc-op
      operationId: authorize
      summary: 'Authorization endpoint (RFC 6749 §3.1). Aliases: /oidc.ashx?action=authorize'
      parameters:
      - name: response_type
        in: query
        required: true
        schema:
          type: string
          enum:
          - code
          - id_token
          - code id_token
      - name: client_id
        in: query
        required: true
        schema:
          type: string
      - name: redirect_uri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: scope
        in: query
        required: true
        schema:
          type: string
          description: openid + optional profile/email/offline_access/network_access
      - name: state
        in: query
        schema:
          type: string
      - name: nonce
        in: query
        schema:
          type: string
      - name: prompt
        in: query
        schema:
          type: string
          enum:
          - none
          - login
          - consent
          - select_account
      - name: code_challenge
        in: query
        schema:
          type: string
      - name: code_challenge_method
        in: query
        schema:
          type: string
          enum:
          - S256
          - plain
      - name: request
        in: query
        schema:
          type: string
          description: Signed JWT request object (RFC 9101). Merged with query params — query wins on conflict.
      - name: id_token_hint
        in: query
        schema:
          type: string
      - name: max_age
        in: query
        schema:
          type: integer
      responses:
        '302':
          description: Redirect to redirect_uri (with code|error) OR to /login.html (session bootstrap).
        '400':
          $ref: '#/components/responses/Unauthorized'
    post:
      tags:
      - oidc-op
      operationId: authorizePost
      summary: Same as GET /authorize but form-encoded
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
      responses:
        '302':
          description: Redirect (see GET)
  /oauth2/v1/token:
    post:
      tags:
      - oidc-op
      operationId: token
      summary: Token endpoint (RFC 6749 §3.2) — supports authorization_code, refresh_token…
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - grant_type
              properties:
                grant_type:
                  type: string
                code:
                  type: string
                redirect_uri:
                  type: string
                code_verifier:
                  type: string
                refresh_token:
                  type: string
                assertion:
                  type: string
                pre-authorized_code:
                  type: string
      responses:
        '200':
          description: Access + optionally id + refresh tokens
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/Unauthorized'
  /oauth2/v1/userinfo:
    get:
      tags:
      - oidc-op
      operationId: userinfo
      summary: 'Userinfo endpoint (RFC 6749 §7). Alias: /oidc.ashx?action=userinfo'
      security:
      - oidcBearer: []
      responses:
        '200':
          description: Claims JSON
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
  /oauth2/v1/logout:
    get:
      tags:
      - oidc-op
      operationId: endSession
      summary: End Session endpoint (OIDC RP-Initiated Logout 1.0).
      responses:
        '200':
          description: OK
        '302':
          description: Redirect to post_logout_redirect_uri
  /oauth2/v1/revoke:
    post:
      tags:
      - oidc-op
      operationId: revoke
      summary: 'RFC 7009 token revocation. Alias: /oidc.ashx?action=revoke'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
      responses:
        '200':
          description: OK (always 200 per RFC)
  /oauth2/v1/introspect:
    post:
      tags:
      - oidc-op
      operationId: introspect
      summary: 'RFC 7662 token introspection. Alias: /oidc.ashx?action=introspect'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
      responses:
        '200':
          description: '{active:boolean, ...}'
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    Jwks:
      type: object
      required:
      - keys
      properties:
        keys:
          type: array
          items:
            type: object
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: OAuth 2.0 / OIDC error code where applicable (invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_response_type, unsupported_grant_type, invalid_scope, access_denied, login_required, ...)
        error_description:
          type: string
        error_uri:
          type: string
          format: uri
    OidcDiscovery:
      type: object
      required:
      - issuer
      - authorization_endpoint
      - token_endpoint
      - userinfo_endpoint
      - jwks_uri
      - response_types_supported
      - subject_types_supported
      - id_token_signing_alg_values_supported
      properties:
        issuer:
          type: string
          format: uri
        authorization_endpoint:
          type: string
          format: uri
        token_endpoint:
          type: string
          format: uri
        userinfo_endpoint:
          type: string
          format: uri
        jwks_uri:
          type: string
          format: uri
        end_session_endpoint:
          type: string
          format: uri
        revocation_endpoint:
          type: string
          format: uri
        introspection_endpoint:
          type: string
          format: uri
        request_parameter_supported:
          type: boolean
        request_object_signing_alg_values_supported:
          type: array
          items:
            type: string
        code_challenge_methods_supported:
          type: array
          items:
            type: string
            enum:
            - plain
            - S256
        scopes_supported:
          type: array
          items:
            type: string
          description: openid, profile, email, offline_access, network_access, ...
        grant_types_supported:
          type: array
          items:
            type: string
  responses:
    Unauthorized:
      description: 'Missing/invalid Bearer OR missing/invalid HMAC signature. WWW-Authenticate: Bearer realm="codeb-admin".'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    cscServiceToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 service access token (scope=service) from POST /csc/rqes/oauth2/token. Valid 1 hour. Lists and describes the signed-in user's signing credential.
    cscCredentialToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 credential access token (scope=credential) from POST /csc/rqes/oauth2/token. Bound to one credentialID and to exactly the document hashes the user confirmed; valid 5 minutes and for numSignatures signatures in total. Replaces the SAD on signatures/signHash.
    cscClientBasic:
      type: http
      scheme: basic
      description: OAuth client authentication (client_secret_basic). client_secret_post (client_id + client_secret form fields) is accepted as well. Clients are registered per tenant by the operator.
    oidcBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OIDC access token minted by /oauth2/v1/token. Tenant-scoped by Host header. Also accepts ak_-prefixed personal API keys on the v1 REST surface.
    hmacAdmin:
      type: apiKey
      in: header
      name: X-CodeB-Admin-Signature
      description: Hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + '|' + Host)). Bucket name is documented per-endpoint. This scheme is designed for machine-to-machine admin automation (CI, cron, back-office scripts) where OIDC bearer flow isn't practical.
    credentialAccessToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: OAuth 2.0 access token minted by /vci.ashx?token via pre-authorized_code grant. Used only on POST /vci.ashx?credential.