Rick Choi
Rick Choi

Reputation: 29

"Re-enabling" App Authenticity in Mobilefirst 8.0 not working

During App Authenticity testing in MobileFirst 8.0, I found a strange behavior in switching between enable and disable of App Authenticity setting on Console, using an (Android) app's debug package and release package:

I'm wondering if this is normal behavior of enabling / disabling App Authenticity setting in real-time on Console.. and if the feature is designed for just one set of actions of Enable -> Disable only.

Any thought?

Thanks!

Upvotes: 0

Views: 312

Answers (1)

Nathan H
Nathan H

Reputation: 49421

By default, App Authenticity is only being checked during the client registration process. Which means that the next time you connect to the server, it will not be checked.

In order to run App Authenticity on every token request, add appAuthenticity to the Mandatory scope section on your application in the console. Then set the expirationSec to 60 seconds for example.

The tutorial was adjusted to clarify this: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/authentication-and-security/application-authenticity/#configuring-application-authenticity

Upvotes: 1

Related Questions