Get Identity Provider
GET
/identity-providers/{id}Fetch the configuration of an identity provider.
Returns the provider's settings including OAuth endpoints, client
configuration, and enabled scopes. Use this to display provider settings
or check configuration before updates.
Identity providers enable SSO login through services like Google, Microsoft,
or your own OAuth server.
When to use this
- Displaying provider settings in an admin panel
- Checking configuration before making changes
- Debugging SSO issues
Parameters
idpathrequiredResponse
Identity provider retrieved successfully
Notes
ℹ️Client secrets are never returned in API responses for security.
💡Compare your configuration against the provider's documentation if SSO isn't working.
Code Samples
Get Identity Provider using the TypeScript SDK:
import { BackstageClient } from '@ticketlayer/backstage';
const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');
// Get identityprovider details
const identityprovider = await client.identityprovider.get('{{IDENTITYPROVIDER_ID}}');
console.log(`IdentityProvider: ${identityprovider.name || identityprovider.id}`);