question

archie avatar image
archie asked

Can I use the authentication APIs to login/signup on my JavaScript frontend?

My management have asked me to set up login/signup to our players playfab accounts on my frontend built in React.js . I thought it was best to ask the community about this, as there is not much JS docs on playfab that I can find. I wonder if I can use the APIs I linked below from my client (going through a server to protect any api keys ofc) to achieve this.

Firstly, is even possible? Also, am I along the right lines here?

https://docs.microsoft.com/en-us/rest/api/playfab/client/authentication?view=playfab-rest

apisAuthentication
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

·
JayZuo avatar image
JayZuo answered

PlayFab has both JavaScript SDK and NodeJS SDK. I'd believe they can help you achieve what you want.

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.