Google Client Api + OAuth2 #Rawabi

Is anyone… have an idea if i can with Wix authenticate at first to google+ then after that …i wanna have a way to create a client object ( including client_secrect.json file with the client object) …that object will connect to google server & the response would be a code … then using that code to perform a request >> exchanging the code with a token … the token later will be used to perform a function within a google api …
For Example … if i wanna create a Form in wix … with one input is “name”… i would take the name and after implementing Auth stuff… i will create an empty file named with the provided name in the logged in user Drive account using Google Drive Api …
I’ve done all of that using laravel php platform … Any Suggestions For Wix !!
Note: All of Google apis provide support with different languages like Php & javaScript …

Hi Nabeel,
I’m afraid I don’t fully understand what you wrote.
There is a possibility to use Wix’s “Site Members” feature, and enable the Google sign in there, and then you can authenticate via Google+. However, the code will not have access to the token if that’s what you’re asking.

Yeah … I already used google+ sign in …
but if you look over here… at google client api documentation that provides the authintication part to use api’s of google like Drive Api

How to implement that in wix !
Thnx alot :slight_smile:

look at this example:
https://www.wix.com/corvid/forum/community-discussion/example-google-sheets-npm