Android AccountKit.getCurrentAccount returns "API calls from the server require the appsecret_proof argument"

I am trying Facebook AccountKit as shown here: https://developers.facebook.com/docs/accountkit/android/integrating

I started an AccountKitAcitivity account with:

AccountKitConfiguration.AccountKitConfigurationBuilder configurationBuilder =
                new AccountKitConfiguration.AccountKitConfigurationBuilder(
                        LoginType.PHONE,
                        AccountKitActivity.ResponseType.TOKEN);
intent.putExtra(
AccountKitActivity.ACCOUNT_KIT_ACTIVITY_CONFIGURATION,
configurationBuilder.build());
startActivityForResult(intent, APP_REQUEST_CODE);

After I end the SMS login flow with a “verified” at the end, when I call AccountKit.getCurrentAccount (...) in my activity, I get “API calls from the server require an appsecret_proof error”.

This can be "enabled" if you disable "Secret Proof for Server API Application" and disable it. This makes my application less secure ... any suggestion?

+4
1

" " true, . ResponseType.CODE. .

" ", true, /me ( ) . getCurrentAccount /me .

0

All Articles