OIDC token validation

An error can occur when the Engineering AI Hub server receives an invalid token from the OIDC provider. This typically happens when the token sent in the authorization header is incorrect or malformed.

Problem

The server fails to validate the token and authentication is unsuccessful.

Error log

The system records the error ID and message in the logs, which can be accessed by the administrator.

Raising AIHubException - HTTP_400_BAD_REQUEST - Invalid token request

Response Code: 400

Resolution

Ensure that the OIDC token sent in the authorization header is correct. For more information, see Configuring the instance.