List Identity Providers
GET
/identity-providersSee all the authentication providers configured for your organisation.
Identity providers handle how users log in-whether that's the built-in email/
password system, Stagedoor SSO, or other enterprise authentication.
Most organisations just use the default provider, but larger setups might
have multiple options.
When to use this
- Building a login page with multiple sign-in options
- Checking which SSO providers are enabled
- Auditing authentication configuration
Parameters
organisationIdqueryResponse
Identity providers retrieved successfully
Notes
ℹ️The default provider (Stagedoor) is always available. Additional providers are configured per-organisation.
Code Samples
List Identity Providers using the TypeScript SDK:
import { BackstageClient } from '@ticketlayer/backstage';
const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');
// List identityproviders
const { identityproviders, pagination } = await client.identityproviders.list({
limit: 20,
page: 1,
});
for (const item of identityproviders) {
console.log(`${item.id}: ${item.name || item.id}`);
}
console.log(`Page ${pagination.page} of ${pagination.totalPages}`);