Skip to content

Authentication

The Riversoft STCP DirectLink API authenticates users through local login, OAuth tokens, or a corporate identity provider. The method available to each user depends on the environment configuration; check with the service administrator which method is authorized for your integration.

Choose the method

NeedMethodGuide
Reproduce the user login, with MFALocal login (HTTP Basic)Local login and MFA
Integrate systems with user and passwordPassword grant (may be disabled; not part of OAuth 2.1)OAuth tokens
Reuse a JWT issued by another systemToken exchangeOAuth tokens
Use a long-lived technical credentialImpersonation tokenOAuth tokens
Sign in through the corporate provider in the browserSSO (OAuth 2.0 and 2.1/OpenID Connect or SAML 2.0)Single Sign-On

Note

/auth/login and the token endpoints (/auth/token and /oauth2/token) have different contracts. Login uses HTTP Basic and returns a session cookie; the token endpoints accept an OAuth 2.0 form and return a Bearer token in the JSON.

In this section