SecureAuth (incl. Cloudentity) Web API

The web API from SecureAuth (incl. Cloudentity) — 2 operation(s) for web.

Business capability
Customer Sign-In AE-160.10

Operations 2

POST /{aid}/login/discovery Discover IDPs for a user identifier #
GET /{aid}/styling Get styling for a tenant #

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/secureauth:secureauth-web-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

secureauth-web-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secureauth Web API
  version: ''
tags:
- name: Web
paths:
  /{aid}/login/discovery:
    post:
      description: 'Returns a list of IDPs that match the given user identifier based on

        identity pool membership, domain matching, or IDP discovery scripts.'
      operationId: discoverIDPs
      parameters:
      - description: Authorization server id
        in: path
        name: aid
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/DiscoveryResponse'
        '400':
          $ref: '#/components/responses/badRequestHTTPError'
        '404':
          $ref: '#/components/responses/notFoundHTTPError'
      summary: Discover IDPs for a user identifier
      tags:
      - Web
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscoveryRequest'
  /{aid}/styling:
    get:
      operationId: getStyling
      parameters:
      - description: Authorization server id
        in: path
        name: aid
        required: true
        schema:
          type: string
          default: admin
      responses:
        '200':
          $ref: '#/components/responses/Styling'
        '404':
          $ref: '#/components/responses/notFoundHTTPError'
      summary: Get styling for a tenant
      tags:
      - Web
components:
  schemas:
    Styling:
      properties:
        colors:
          properties:
            background:
              type: string
            header:
              type: string
            primary:
              type: string
          type: object
        font_url:
          type: string
        logo_size:
          type: string
        logo_url:
          type: string
      type: object
    DiscoveryRequest:
      description: Discovery request
      properties:
        identifier:
          description: User identifier (e.g. email address)
          type: string
        login_id:
          description: Login session ID (required for script_execution discovery mode)
          type: string
        login_state:
          description: Login state (required for script_execution discovery mode)
          type: string
      type: object
    DiscoveryResponse:
      properties:
        idps:
          description: List of matching IDPs
          items:
            $ref: '#/components/schemas/DiscoveryIDP'
          type: array
      type: object
    DiscoveryIDP:
      properties:
        hidden:
          description: Whether IDP is hidden from the login page
          type: boolean
        id:
          description: IDP ID
          type: string
        instant_redirect:
          description: Whether to instantly redirect to this IDP
          type: boolean
        logo_uri:
          description: IDP logo URI
          type: string
        method:
          description: IDP method (e.g. oidc, saml, static)
          type: string
        name:
          description: IDP display name
          type: string
      type: object
    Error:
      description: HTTP error response
      properties:
        details:
          type: object
        error:
          type: string
        error_code:
          type: string
        status_code:
          format: int64
          type: integer
      type: object
  responses:
    notFoundHTTPError:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    DiscoveryResponse:
      description: Discovery response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DiscoveryResponse'
    Styling:
      description: Styling
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Styling'
    badRequestHTTPError:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'