Skip to main content

Android SDK configuration

Configure the following settings in your manifest file for added security.


When enabled, this value requires users to set a pattern, password, or PIN as a screen lock on their device. If they do not set a screen lock, the current account information will be invalidated and they will not be able to enroll a new account until they set a screen lock.


Add the client ID so SecureAuth Identity Platform recognizes that the OAuth request is from your application.


For 20.06 Beta customers only: Add this value to use the existing shared key from your Beta installation.

  1. Open your application manifest file.

  2. Declare the metadata. (See the descriptions above.)

    <!-- Declare this metadata configuration on your application manifest -->
      <!-- ENFORCE_LOCK invalidates accounts if a screen lock is not set on the device -->
      <meta-data android:name="com.secureauth.sdk.ENFORCE_LOCK" android:value="false" />
      <meta-data android:name="com.secureauth.sdk.CLIENT_ID" android:value="clientID" />
    <!-- Only implemented for 20.06 Beta customers with existing shared keys -->
    <!-- <meta-data android:name="com.secureauth.sdk.SHARED_KEY" android:value="sharedKey" /> -->


    clientID is the client ID generated with assistance from SecureAuth Support, and must be passed as an initialization parameter to the SecureAuth object for use.

Next steps

Account enrollment