List apps
Get a list of all apps in a connection uri domain.
The value of firstFactors can be as follows:
null: When set tonull, the SDK will use firstFactors defined in the SDK[](empty array): No first factors would be enabled for the tenant- non-empty array: The first factors that are enabled for the tenant
Request must originate from public app and tenant.
GET
/recipe/multitenancy/app/list/v2Authorization
api-keyAPI key · headerrequiredThe core service API token. If you are using a self-hosted core service and you have not generated a token, you can omit the header.
Header parameters
ridstringcdi-versionstringX.Y of the X.Y.Z CDI version.
Responses
200List of apps
statusstatusOKrequiredAllowed:
OKappsobject[]requiredShow propertiesHide properties
Array of
objectappIdstringtenantstenantConfigV2[]Show propertiesHide properties
Array of
tenantConfigV2tenantIdtenantIdrequiredthirdPartyobjectrequiredShow propertiesHide properties
providersthirdPartyProviderConfig[]Show propertiesHide properties
Array of
thirdPartyProviderConfigthirdPartyIdstringrequirednamestringclientsobject[]Show propertiesHide properties
Array of
objectclientTypestringclientIdstringclientSecretstringscopestring[]forcePKCEbooleanadditionalConfigobjectauthorizationEndpointstringauthorizationEndpointQueryParamsobjecttokenEndpointstringtokenEndpointBodyParamsobjectuserInfoEndpointstringuserInfoEndpointQueryParamsobjectuserInfoEndpointHeadersobjectjwksURIstringoidcDiscoveryEndpointstringrequireEmailbooleandefault: true
userInfoMapobjectShow propertiesHide properties
fromIdTokenPayloadobjectShow propertiesHide properties
userIdstringemailstringemailVerifiedstringfromUserInfoAPIobjectShow propertiesHide properties
userIdstringemailstringemailVerifiedstringfirstFactorsfirstFactorsrequiredSecondaryFactorsrequiredSecondaryFactorscoreConfigobjectrequired400error code 400
string401error code 401
string404error code 404
string500error code 500
stringTry it
Server
Authorization
Parameters
Request
curl -X GET "/recipe/multitenancy/app/list/v2" \
-H "api-key: YOUR_API_KEY"const response = await fetch("/recipe/multitenancy/app/list/v2", {
method: "GET",
headers: {
"api-key": "YOUR_API_KEY"
}
});import requests
response = requests.get(
"/recipe/multitenancy/app/list/v2",
headers={
"api-key": "YOUR_API_KEY"
},
)Response
{
"status": "OK",
"apps": [
{
"appId": "app1",
"tenants": [
{
"tenantId": "customer1",
"thirdParty": {
"providers": [
{
"thirdPartyId": "string",
"name": "string",
"clients": [
{
"clientType": "string",
"clientId": "string",
"clientSecret": "string",
"scope": [
"string"
],
"forcePKCE": true,
"additionalConfig": {}
}
],
"authorizationEndpoint": "string",
"authorizationEndpointQueryParams": {},
"tokenEndpoint": "string",
"tokenEndpointBodyParams": {},
"userInfoEndpoint": "string",
"userInfoEndpointQueryParams": {},
"userInfoEndpointHeaders": {},
"jwksURI": "string",
"oidcDiscoveryEndpoint": "string",
"requireEmail": true,
"userInfoMap": {
"fromIdTokenPayload": {
"userId": "string",
"email": "string",
"emailVerified": "string"
},
"fromUserInfoAPI": {
"userId": "string",
"email": "string",
"emailVerified": "string"
}
}
}
]
},
"firstFactors": [
"emailpassword"
],
"requiredSecondaryFactors": [
"otp-phone"
],
"coreConfig": {}
}
]
}
]
}"string""Invalid API key""Not Found""Internal Error"