SAML · Capability

SAML 2.0 SSO HTTP Bindings — SSO

SAML 2.0 SSO HTTP Bindings — SSO. 3 operations. Lead operation: Assertion Consumer Service (ACS). Self-contained Naftiko capability covering one Saml business surface.

Run with Naftiko SamlSSO

What You Can Do

POST
Assertionconsumerservice — Assertion Consumer Service (ACS)
/v1/saml/acs
POST
Ssopostbinding — SSO HTTP POST Binding
/v1/saml/sso/post
GET
Ssoredirectbinding — SSO HTTP Redirect Binding
/v1/saml/sso/redirect

MCP Tools

assertion-consumer-service-acs

Assertion Consumer Service (ACS)

sso-http-post-binding

SSO HTTP POST Binding

sso-http-redirect-binding

SSO HTTP Redirect Binding

read-only idempotent

Capability Spec

sso-bindings-sso.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SAML 2.0 SSO HTTP Bindings — SSO
  description: 'SAML 2.0 SSO HTTP Bindings — SSO. 3 operations. Lead operation: Assertion Consumer Service (ACS). Self-contained
    Naftiko capability covering one Saml business surface.'
  tags:
  - Saml
  - SSO
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SAML_API_KEY: SAML_API_KEY
capability:
  consumes:
  - type: http
    namespace: sso-bindings-sso
    baseUri: https://idp.example.com
    description: SAML 2.0 SSO HTTP Bindings — SSO business capability. Self-contained, no shared references.
    resources:
    - name: saml-acs
      path: /saml/acs
      operations:
      - name: assertionconsumerservice
        method: POST
        description: Assertion Consumer Service (ACS)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: saml-sso-post
      path: /saml/sso/post
      operations:
      - name: ssopostbinding
        method: POST
        description: SSO HTTP POST Binding
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: saml-sso-redirect
      path: /saml/sso/redirect
      operations:
      - name: ssoredirectbinding
        method: GET
        description: SSO HTTP Redirect Binding
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SAMLRequest
          in: query
          type: string
          description: The deflated, base64-encoded, and URL-encoded SAML AuthnRequest XML message. The message MUST be deflated
            using the DEFLATE compression method (RFC 1951) before
          required: true
        - name: RelayState
          in: query
          type: string
          description: An opaque reference to state information maintained at the Service Provider. The value MUST NOT exceed
            80 bytes in length and MUST be integrity-protected by the
        - name: SigAlg
          in: query
          type: string
          description: The URI identifying the signature algorithm used to sign the request. Required when the request is
            signed.
        - name: Signature
          in: query
          type: string
          description: The base64-encoded and URL-encoded signature value computed over the SAMLRequest, RelayState (if present),
            and SigAlg query string parameters.
  exposes:
  - type: rest
    namespace: sso-bindings-sso-rest
    port: 8080
    description: REST adapter for SAML 2.0 SSO HTTP Bindings — SSO. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/saml/acs
      name: saml-acs
      description: REST surface for saml-acs.
      operations:
      - method: POST
        name: assertionconsumerservice
        description: Assertion Consumer Service (ACS)
        call: sso-bindings-sso.assertionconsumerservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/saml/sso/post
      name: saml-sso-post
      description: REST surface for saml-sso-post.
      operations:
      - method: POST
        name: ssopostbinding
        description: SSO HTTP POST Binding
        call: sso-bindings-sso.ssopostbinding
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/saml/sso/redirect
      name: saml-sso-redirect
      description: REST surface for saml-sso-redirect.
      operations:
      - method: GET
        name: ssoredirectbinding
        description: SSO HTTP Redirect Binding
        call: sso-bindings-sso.ssoredirectbinding
        with:
          SAMLRequest: rest.SAMLRequest
          RelayState: rest.RelayState
          SigAlg: rest.SigAlg
          Signature: rest.Signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sso-bindings-sso-mcp
    port: 9090
    transport: http
    description: MCP adapter for SAML 2.0 SSO HTTP Bindings — SSO. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: assertion-consumer-service-acs
      description: Assertion Consumer Service (ACS)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sso-bindings-sso.assertionconsumerservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: sso-http-post-binding
      description: SSO HTTP POST Binding
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sso-bindings-sso.ssopostbinding
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: sso-http-redirect-binding
      description: SSO HTTP Redirect Binding
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sso-bindings-sso.ssoredirectbinding
      with:
        SAMLRequest: tools.SAMLRequest
        RelayState: tools.RelayState
        SigAlg: tools.SigAlg
        Signature: tools.Signature
      outputParameters:
      - type: object
        mapping: $.