question

Frank DiCola avatar image
Frank DiCola asked

Authenticating the User with NestJS

Hello! I'm setting up a database for my project in NestJS. I realize that user authentication is important and I know that ValidateEntityToken exists for this purpose.

My question is more on the NestJS side - has anyone set this up and gotten it to work? I would like all requests to the database to validate the user to make sure the only people calling the database are those that have logged in via PlayFab and are using my app. How do I do that?

Authentication
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

·
Rick Chen avatar image
Rick Chen answered

Yes, you can use the ValidateEntityToken API on your custom server to validate the user. For the question about NestJS, please contact their support team for help.

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.