Im using the Xamarin Essentials as a part of a Xamarin Forms application i'm developing. I have integrated it in to my aspnet.core backend, and it works fine.
However im getting an accesstoken returned when i sign in with google and facebook, but in case of the google login, i need the id_token and not the accesstoken.
I've looked at the 'AddJwtBearer' method on the 'AddAuthentication' part in startup, but i have not been able to make it work when i use the 'AuthenticateAsync' method in controller.
How would one accomplish this? The backend is based on code from this sample: https://github.com/xamarin/Essentials/blob/develop/Samples/Sample.Server.WebAuthenticator/Controllers/MobileAuthController.cs
try to get it from here:
or
Check this class