question

shinichiglobalgaming avatar image
shinichiglobalgaming asked

BadRequest -- The requested feature has not been enabled for this title. Loginwithkongregate

I tried to test playfab api loginwithkongregate and it says the following error in my console "BadRequest -- The requested feature has not been enabled for this title."

here is my code to the login

function playfabLogIn()

{

var x = {};

x.KongregateId = $rootScope.pfcid;

x.AuthTicket = $rootScope.pfat;

x.TitleId = $rootScope.pfid;

PlayFabClientSDK.LoginWithKongregate(x, (response, error) => {

if(error)

{

console.log(error.status + " -- " +error.errorMessage);

$rootScope.loginSuccess = false;

}

else

{

var result = response.data;

$rootScope.loginSuccess = true;

}

});

}

I did check the kongregate ID and authentication ticket from kong using console.log and it's there and good but when it comes down to the log in it fails and displays that error. what am I missing? or is there anything wrong with my code?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

To use Kongregate login, you first need to add your Kongregate Secret API key on the Kongregate page in the Add-ons marketplace. Can you please make sure that step has been completed?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.