codai · Authentication Profile

codai Authentication

Authentication

codai secures its APIs with http and oauth2 across 3 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode and deviceCode flow(s).

CompanyArtificial IntelligenceCode GenerationDeveloper ToolsLLM GatewayOpenAI-CompatibleModel RoutingRomania
Methods: http, oauth2 Schemes: 3 OAuth flows: authorizationCode, deviceCode API key in:

Security Schemes

oauth2 oauth2
· flows: authorizationCode, deviceCode
bearerAuth http
scheme: bearer
clientSecretBasic http
scheme: basic

Source

Authentication Profile

Raw ↑
generated: '2026-11-04'
method: searched
source: https://docs.codai.ro/docs/auth
summary:
  types:
  - http
  - oauth2
  oauth2_flows:
  - authorizationCode
  - deviceCode
schemes:
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://auth.codai.ro/auth
    tokenUrl: https://auth.codai.ro/token
    scopes: 9
  - flow: deviceCode
    tokenUrl: https://auth.codai.ro/token
    scopes: 9
  description: codai OpenID Connect provider. PKCE `S256` required on the authorization
    code flow.
  sources:
  - openapi/codai-ro-auth-openapi.yml
- name: bearerAuth
  type: http
  scheme: bearer
  description: OAuth access token issued by `/token` (used by `/me` and `/connect/key`).
  sources:
  - openapi/codai-ro-auth-openapi.yml
  - openapi/codai-ro-gateway-openapi.yml
  - openapi/codai-ro-resolve-openapi.yml
- name: clientSecretBasic
  type: http
  scheme: basic
  description: '`client_secret_basic` client authentication. `client_secret_post`
    and `private_key_jwt` go in the form body instead; public clients send only `client_id`.'
  sources:
  - openapi/codai-ro-auth-openapi.yml
docs: https://docs.codai.ro/docs/auth
docs_pages:
- https://docs.codai.ro/docs/auth
- https://docs.codai.ro/docs/auth/connect-flow
- https://docs.codai.ro/docs/auth/scopes
- https://docs.codai.ro/docs/gateway/headers
api_key:
  header: 'Authorization: Bearer codai_…'
  alt_header: x-api-key (accepted on POST /v1/messages only, for Anthropic SDKs)
  prefix: codai_
  ephemeral_token_prefix: codai_eph_v1.
  issued_at: https://hub.codai.ro (Keys)
  errors:
    '401': invalid_api_key
    '402': subscription_inactive
oidc:
  issuer: https://auth.codai.ro
  discovery: https://auth.codai.ro/.well-known/openid-configuration
  pkce: S256 required for every client, public or confidential; response_type is always
    code
  client_auth_methods:
  - none
  - client_secret_basic
  - client_secret_post
  - private_key_jwt
  grant_types:
  - authorization_code
  - refresh_token
  - urn:ietf:params:oauth:grant-type:device_code
  token_lifetimes: access token 1 h, ID token 1 h, authorization code 10 min, refresh
    token 30 days rotating (≤ 1 year total), consent grant 90 days, IdP browser session
    14 days
  dynamic_client_registration: POST /reg accepts RFC 7591 registrations without an
    initial access token (MCP clients, public clients only)
  device_flow: implemented but only provisioned for first-party clients today
  step_up_acr_values:
  - urn:codai:acr:pwd
  - urn:codai:acr:passkey
  - urn:codai:acr:mfa
  key_minting: GET /connect/key mints a gateway API key bound to the user and the
    consent
  token_endpoint_rate_limit: 60 requests/min per IP

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/codai-ro-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.