Skip to content

Reference

PagerDuty

Set up PagerDuty OAuth for incident management and on-call scheduling

Connect your users to PagerDuty for incident management, on-call scheduling, alert routing, and service health monitoring.

PropertyValue
Provider IDpagerduty
CategoryDeveloper Tools
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Go to the PagerDuty Developer Portal

Sign in to PagerDuty App Registration as a Manager, Global Admin or Account Owner. The PagerDuty OAuth documentation describes the setup fields.

Register the application

Go to Integrations > Developer Tools > App Registration, click New App, enter the name and description, and save.

Add Classic User OAuth

In the Functionality section click Add on the OAuth card, and on the Configure OAuth 2.0 screen choose Classic User OAuth (not Scoped OAuth). Classic User OAuth uses the read and write scopes offered here, and a user on any PagerDuty account can authorize the app. A private Scoped OAuth app only works on the account that registered it, uses dotted scopes such as users.read, and returns 403 on every API call when connected with the scopes offered here.

Configure the redirect URI

Add the Alter callback URL from the Developer Portal to the Redirect URL field.

Get credentials

Copy the Client ID and Client Secret.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add PagerDuty provider

Go to OAuth Providers > Add Provider > PagerDuty.

Enter credentials

  • Client ID: Paste your PagerDuty Client ID
  • Client Secret: Paste your PagerDuty Client Secret

Select scopes

Choose the scopes the application needs.

Save

Click Save. The provider is now active.

ScopeDescription
openidAccess to user identity information
readRead-only access to every resource the authorizing user can see; requested unless write is selected
writeRead and write access to every resource the authorizing user can see; includes read, so a connection with write selected requests write alone
  • PagerDuty honours one Classic permission level per token: read for read-only access or write for read/write access. read is always selected; selecting write requests write alone (it includes read), because PagerDuty grants a token holding only openid when both are named.
  • See the PagerDuty OAuth documentation for more details.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
listIncidentsreadGET/incidents
getIncidentreadGET/incidents/{id}
createIncidentsend, writePOST/incidents
updateIncidentwritePUT/incidents/{id}
updateIncidentswritePUT/incidents
mergeIncidentswritePUT/incidents/{id}/merge
createIncidentNotewritePOST/incidents/{id}/notes
listIncidentNotesreadGET/incidents/{id}/notes
createIncidentStatusUpdatesendPOST/incidents/{id}/status_updates
createIncidentNotificationSubscriberswritePOST/incidents/{id}/status_updates/subscribers
listServicesreadGET/services
createServicewritePOST/services
updateServicewritePUT/services/{id}
deleteServicedeleteDELETE/services/{id}
listUsersreadGET/users
getUserreadGET/users/{id}
createUseradminPOST/users
deleteUseradmin, deleteDELETE/users/{id}
listSchedulesreadGET/schedules
getSchedulereadGET/schedules/{id}
listOnCallsreadGET/oncalls
listEscalationPoliciesreadGET/escalation_policies

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.