How to use authentication
When you launch Accurate.Video using a launch template you can choose to specify the authentication to use with query parameters.
Example: Launch Accurate.Video with authentication enabled
GET https://apps.accurate.video/launch/{application}
?launchTemplate=https://example.com/launch-template.json
&authMethod=oidc
&authOIDCAuthority=https://example.com/authority
&authOIDCClientId=5g3srbv1u6q6t97u8m7tcj3dd8
This will activate authentication using OpenID Connect. Before Accurate.Video (AV) loads the launch template the user will need to authenticate through the OpenID Provider (OP). AV will use the Access Token obtained from the OP when fetching the launch template and on any subsequent requests.
info
You can read more about the specific authentication query parameters in our launch api documentation
Examples
- Okta
- Keycloak
Okta configuration
Setting | Value |
---|---|
Sign-in redirect URI | https://apps.accurate.video/launch/{application} |
Query parameters
Query parameter | Value |
---|---|
authMethod | oidc |
authOIDCAuthority | https://example.okta.com/oauth2/default |
authOIDCClientId | 5g3srbv1u6q6t97u8m7tcj3dd8 |
Complete url
Example: Launch Accurate.Video with authentication enabled for okta
GET https://apps.accurate.video/launch/{application}
?launchTemplate=https://example.com/launch-template.json
&authMethod=oidc
&authOIDCAuthority=https://example.okta.com/oauth2/default
&authOIDCClientId=5g3srbv1u6q6t97u8m7tcj3dd8
Keycloak configuration
Setting | Value |
---|---|
Valid redirect URI | https://apps.accurate.video* |
Authentication flow | Standard flow |
Client type | OpenID Connect |
Query parameters
Query parameter | Value |
---|---|
authMethod | oidc |
authOIDCAuthority | https://example.keycloak.com/realms/your-realm |
authOIDCClientId | example-client-id |
Complete url
Example: Launch Accurate.Video with authentication enabled for keycloak
GET https://apps.accurate.video/launch/{application}
?launchTemplate=https://example.com/launch-template.json
&authMethod=oidc
&authOIDCAuthority=https://example.keycloak.com/realms/your-realm
&authOIDCClientId=example-client-id