Portal Auth

Manage the Ares-backed authentication configuration for a portal.

Portal Auth object

Attributes

object

Enumportal.auth.sso_tenant

id

String

name

String

status

Enum

client_id

String

counts

Object

created_at

Date

updated_at

Date
{
"object": "portal.auth.sso_tenant",
"status": "pending",
"counts": {}
}

List portal auth SSO tenants

Returns the SSO tenants configured for a portal Ares app.

URL Parameters

portal_id

String

The unique identifier for the portal

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional
GEThttps://api.metorial.com/portals/:portal_id/auth/sso-tenants
curl -X GET "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/auth/sso-tenants" \
-H "Authorization: Bearer metorial_sk_..."

Create portal auth SSO tenant

Creates an SSO tenant for the portal Ares app.

URL Parameters

portal_id

String

The unique identifier for the portal

Request Body

name

String
POSThttps://api.metorial.com/portals/:portal_id/auth/sso-tenants
curl -X POST "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/auth/sso-tenants" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer metorial_sk_..." \
-d '{
"name": "example_name"
}'

Create portal auth SSO tenant setup

Creates an Ares setup URL for finishing portal SSO tenant configuration.

URL Parameters

portal_id

String

The unique identifier for the portal

sso_tenant_id

String

The unique identifier for the sso_tenant

POSThttps://api.metorial.com/portals/:portal_id/auth/sso-tenants/:sso_tenant_id/setup
curl -X POST "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/auth/sso-tenants/sso_Rm4Mnheq2bfEPhBhP7SY/setup" \
-H "Authorization: Bearer metorial_sk_..."

List portal auth SSO tenant connections

Returns SSO connections that belong to a portal SSO tenant.

URL Parameters

portal_id

String

The unique identifier for the portal

sso_tenant_id

String

The unique identifier for the sso_tenant

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional
GEThttps://api.metorial.com/portals/:portal_id/auth/sso-tenants/:sso_tenant_id/connections
curl -X GET "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/auth/sso-tenants/sso_Rm4Mnheq2bfEPhBhP7SY/connections" \
-H "Authorization: Bearer metorial_sk_..."