What are my API credentials when I sign in with SSO

Plan requirement

Subscription Any plan
Access Admin

Signing in with single sign-on means you have no Zendesk password, and the API needs a token instead.

Why the question comes up

Documentation and examples often show basic authentication with an email address and a password. On an account using single sign-on there is no Zendesk password to use, because authentication happens with your identity provider.

The answer

Use an API token. Create it in Admin Center, and authenticate with your email address plus the token rather than a password. Nothing about single sign-on prevents this.

Better still, do not use your own account

An integration tied to a named person breaks when that person leaves, and it acts with their permissions. A dedicated account for the integration, with only the access it needs, is the right pattern.

That account still uses a token, and it does not need to be able to sign in interactively at all.

OAuth where it fits

For an application that several people use, OAuth works alongside single sign-on and is the cleaner answer. Each person grants access through their normal login.

See also

Was this article helpful?

0

Still stuck?

Our support team will take a look with you.

Comments

0 comments

Article is closed for comments.