How can I get bearer token from Facebook login Unity3d
Hi All,
My game integrates with an Asp.Net Core serverside. Specifically, I use Bearer Token to authenticate a user before posting some data from my game to the server via my api. That easily works for users who register using their email and password as the bearer token is easily generated from those then sent as part of the request header in a UnityWebRequest call.
I have now implemented Facebook login in the game. I get the Access Token when the user is registered. Is there a way for me to generate a bearer token from the Facebook Access Token?
Answer by technobayo · Nov 08, 2019 at 07:47 PM
Not to worry, I fixed it. All I needed to do was send it to an API created in ASP.
Your answer
Follow this Question
Related Questions
Writing Files to Android Device 0 Answers
WWW Class silent crach 1 Answer
Creating a Custom Music folder - Works inside the editor - Issues with build. 0 Answers
Can you pass a RawImage to an IEnumerator in another script? 0 Answers
I can't figure out how to get the audioClip of a movieTexture in code. 0 Answers