question

NatarajanTulasi-6244 avatar image
0 Votes"
NatarajanTulasi-6244 asked RobCaplan edited

Is this possible to authenticate Google drive api using Xamarin forms essentials webauthenticator?

I am integrating Google Drive API in Xamarin forms application for both Android and IOS using Xamarin Auth. I have implemented for Android but in iOS it is not working. So I am searching for other options to develop for IOS.

is this possible to Integrating Google drive in Xamarin iOS using Xamarin essentials WebAuthenticator? if so please give me example.

Thanks

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KyleWang-MSFT avatar image
0 Votes"
KyleWang-MSFT answered

Hi NatarajanTulasi-6244,

Welcome to our Microsoft Q&A platform!

To use Web Authenticator in Xamarin, in addition to the Xamarin project, you also need to create a corresponding ASP.NET core server back end.

As for how to create an ASP.NET Core project for Google Authentication, you can refer to this document: Google external login setup in ASP.NET Core. So you need to use Google console to create a "Web application" type OAuth client ID and set its "Authorized redirect URIs".

For the server back end, you can refer to this sample: Sample.Server.WebAuthenticator. And you can get a "WebAuthenticatorViewModel" demo here: WebAuthenticatorViewModel.cs.

Regards,
Kyle


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.