Step-by-step: Authorize the PAT for SAML SSO
- Open GitHub and sign in with the account that owns the PAT.
- Go to Settings → Developer settings → Personal access tokens.
- Find the PAT you want to use and click Configure SSO.
- Follow the SSO flow: sign in to your Identity Provider and complete any multi-factor authentication (MFA) required.


By authorizing a PAT for an organization, organization owners can view the token’s access scopes and the last-used timestamp. Deauthorize tokens when they are no longer needed.
Never share your PAT. If a token is compromised or no longer required, revoke it immediately and rotate any automation that used it.
Retry the API request
Once the PAT is authorized, retry the same API call (using Postman, curl, or your preferred HTTP client). Example request header using the PAT:Quick reference
Troubleshooting
- Still seeing a 403 after authorization?
- Verify the PAT has the required scopes (for repository access, include
repo). - Ensure you’re authorizing the correct token and GitHub account.
- If your organization recently changed SSO settings, sign out and sign back in, then retry the Configure SSO flow.
- Verify the PAT has the required scopes (for repository access, include
- For automation: if a PAT is used by CI/CD, check whether the CI environment needs a fresh token or a reauthorization step.
Links and references
- Authenticating to a GitHub organization with SAML SSO
- Okta Verify — Multi-factor Authentication
- Postman