Enable Trusted Access and OAuth 2.0
You must enable Trusted Access or the OAuth 2.0 protocol before you can create clients and allow Composer to provide access tokens to authorized clients using Trusted Access or OAuth.
Logi Analytics recommends using Trusted Access for all embed-related workflows.
If OAuth security is not enabled by the supervisor in the supervisor UI, then all OAuth client and token-related API endpoints return a 404 response code or a 401 unauthorized response code (when an existing token is used). In addition, the OAuth API endpoints are not visible in the Swagger documentation. The primary OAuth endpoints are:
/api/oauth2/client
endpoints/api/oauth2/token
endpoints/api/oauth/token
endpoints/oauth/authorize
endpoint
For information about Trusted Access endpoints, see Trusted Access API Endpoints.
To enable OAuth 2.0:
Log in to Composer using the supervisor account.
Select Security.
Switch the Trusted Access & OAUTH setting to ON.
Select Save.
Restart Composer. See Restart Composer Microservices.
After you have set OAuth to ON, you can continue to register an OAuth client or request an access token.
Comments
0 comments
Please sign in to leave a comment.