Authentication
ApiRTC APIs accept several authentication mechanisms
Anonymous user
Anonymous/unidentified users can use ApiRTC library through your apiKey only.
Authentication via login/password
ApiRTC library and REST APIs supports login/password authentication.
However, for any frontend implementation, we recommend to use a JWT to avoid leaking your identifiers publicly.
Authenticate with a JWT token
ApiRTC library is accepting JWT authentication, whether the token is emitted:
by the ApiRTC platform through the authentication endpoint,
More about the JWT authentication
The authentication call-flow is illustrated below:
How to forge a JWT
#YOUR_USER_ID#
is the user identifier used in the external user management system,
Continue reading about JWT Authentication
Last updated