Skip to content

Authentication

Riversoft® STCP Gemini API authenticates the operators of the Riversoft Console Portal and of integrations. All methods end with a Bearer token, sent in the Authorization header of protected calls and invalidated at logout.

Choose the method

NeedMethodGuide
Reproduce the Riversoft Console Portal sign-in, with 2FAPOST /oauth/v2/tokenLocal sign-in and 2FA
Sign in with a corporate directory accountLDAP in POST /oauth/v2/tokenSign-in with LDAP
Integrate systems with operator and password, without 2FAPassword grant in POST /oauth/tokenPassword grant
Sign in through the corporate provider in the browserSSO (SAML 2.0 or OAuth 2.0)Single Sign-On
Use the token and end the sessionAuthorization: Bearer header and DELETE /disconnect/api/v3/logoutSession and logout

Note

POST /oauth/token and POST /oauth/v2/token receive the same form. Only the v2 route applies two-factor authentication (2FA) and accepts LDAP. With 2FA enabled, always use the v2 route.

In this section