The integration of Approov within a Go API server will ensure that your API can only be accessed by genuine instances of your mobile app. Scripts and bots will be blocked. This is achieved by adding the Approov SDK to your mobile app, and implementing the Approov Token check in your Go code couldn’t be easier because the token is a regular signed JWT. All you need is to use the dgrijalva/jwt-go package to check the expiry time and verify the signature with the secret known only by your Go API server and the Approov cloud service.
To enhance the protection of your Go API further, you can secure each request by using the Approov Token Binding advanced feature of Approov. This allows you to check the binding of a header in the request with the Approov token itself, for example, the user authentication header.