Configuring Client ID for Android

The ZenKey SDK manifest contains a placeholder for your clientId. In order to compile your app with the ZenKey SDK, register the zenKeyClientId placeholder value in your app build.gradle. Replace MY_CLIENT_ID in the code below with your clientId.

android {
    defaultConfig {
        manifestPlaceholders = [zenKeyClientId: 'MY_CLIENT_ID']

Request Authorization Code

Sending an authorization intent to the ZenKey app initiates an authorization request. Using the ZenKey default button transacts with the 'identityProvider'. You will need to add ZenKeyButton to your layout.

Did this page help you?