question

Rosen Craft avatar image
Rosen Craft asked

devSecretKey required but I have no idea how to provide one

capture.png

How do I alleviate this error, this is in the corona game engine (now known as the solar2d game engine)

capture.png (15.2 KiB)
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

·
Citrus Yan avatar image
Citrus Yan answered

You can find your title’s secret key in Game Manager -> Title Settings -> Secret Keys:

And in the Lua script, use “PlayFabServerApi.settings.devSecretKey = "<your-secret-key>" to set the secret key for your project. Additionally, please note that you should never expose the secret key to client side users, it can only be used in admin/server projects.


pic1.png (12.5 KiB)
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.