Skip to content

Commit

Permalink
Review updates for the SAML API
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek3255 committed Jan 17, 2024
1 parent 480516f commit 0eb1191
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1760,11 +1760,11 @@ paths:
type: string
enum:
- Unauthorised access
/dashboard/api/tenants/third-party/boxy-saml:
/dashboard/api/tenants/third-party/boxy-saml/clients-with-saml-metadata:
put:
tags:
- Multitenancy
summary: Create or update third party config for a tenant with BoxyHQ
summary: Create or update client of Boxy SAML provider using SAML XML.
parameters:
- name: authorization
in: header
Expand All @@ -1773,20 +1773,28 @@ paths:
type: string
example: "Bearer API_KEY"
requestBody:
description: Learn more about the options and how it works [here](https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/saml/with-boxyhq/flow-diagram).
content:
application/json:
schema:
type: object
properties:
thirdPartyIdSuffix:
type: string
boxyUrl:
description: Optional suffix for the thirdPartyId
boxyURL:
type: string
boxyApiKey:
description: Base URL of the SAML Jackson server
boxyAPIKey:
type: string
description: API key of the SAML Jackson server
encodedRawMetadata:
type: string
redirectUrl:
description: Base64 encoded XML metadata file. Not required if samlMetadataURL is provided.
samlMetadataURL:
type: string
description: URL of the XML metadata file. Not required if encodedRawMetadata is provided.
redirectURL:
type: string
tenantId:
type: string
Expand All @@ -1799,7 +1807,6 @@ paths:
required:
- boxyUrl
- boxyApiKey
- encodedRawMetadata
- redirectUrl
- tenantId
- product
Expand Down

0 comments on commit 0eb1191

Please sign in to comment.