I tried to follow the tutorial at this url, the tutorial is so straight forward but I just couldn't get the correct outcome.
below is my authenticationConfig.xml
<securityTests>
<customSecurityTest name="custom-mobilesecurityTest">
<test realm="wl_antiXSRFRealm" step="1"/>
<test realm="wl_authenticityRealm" step="2"/>
<test realm="HeaderAuthRealm" isInternalUserID="true" step="3"/>
</customSecurityTest>
</securityTests>
But the App Authentication appeared in console is always "Access Disabled", I can't enable it. Did I missing anything here?
It would be more helpful if you would mention what you've actually done, because configuring
authenticationConfig.xml
is only 1 step of several.Also note that for App Authenticity to really work and not use dummy implementation, you must use the Consumer edition of IBM Worklight (i.e., be a paying customer and install the correct version of Worklight Studio and Worklight Server).
I believe that for your problem, you have not done step 2 below.
Steps to enable App Authenticity:
Configure a security test that has the
wl_authenticityRealm
realm:^ This is mentioned in slide 9
Place this
securityTest
on the environment(s) inapplication-descriptor.xml
, for example:For Android, generate the public signing key:
^ This is mentioned in slides 10-13
For iOS, place the app
bundleId
:^ This is mentioned in slides 10-13
Now the App Authenticity dropdown should be enabled for you in Worklight Console.