question

Jose Alfu avatar image
Jose Alfu asked

Can't get ServerAuthCode using Microsoft.AspNetCore.Authentication.Google

Hello. I need the ServerAuthCode in order to use LinkGoogleAccountAsync and LoginWithGoogleAccountAsync in my Asp.Net web api but I find the access_token alone no ServerAuthCode at all. I am using the Microsoft.AspNetCore.Authentication.Google plugin.

Thanks!

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

For web development, please refer to Setting up PlayFab authentication using Google and HTML5 and use access token for the authentication. While using AccessToken, you will need to modify PlayFab's SDK like https://community.playfab.com/answers/40300/view.html. Although AccessToken is deprecated and not recommended, it should still be able to work.

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.