Overview#
The Jwks is used to retrieve a JSON Web Key Set (JWKS). This set contains the public keys that are essential for verifying the digital signature of JWT tokens issued by BETCORE.After the Partner receives any request from TVBET, it is necessary to verify the JWT token obtained from the request body. This approach is based on checking the JWT signature using a public key, which can be obtained by sending a GET request.The public key only needs to be obtained once (for example, when starting the service).It is recommended to cache the received key and constantly use it to verify token signatures.
The main objectives of the Verify method are:Provide Partner with the public keys required to validate JWT tokens. When a JWT is received, its signature must be verified to ensure the token is authentic and has not been tampered with. The keys obtained via the JWKS endpoint make this verification possible.
Security Assurance: By using the JWKS method, Partners ensure that every JWT token is validated against a trusted public key. This step is vital to maintain secure communication and data integrity between BETCORE and its Partners.