I have my google account's API_Key, does that count as the token for loggin in? if not…
- User
I have my google account's API_Key, does that count as the token for loggin in? if not how can i get it to log in with my C# App?
- Assistant
No, the API key is not the same thing as a token for logging in.
To authenticate with Google's API using your Google account, you will need to obtain an OAuth 2.0 access token.
Here's how you can obtain an access token in your C# application:
-
Create a Google Cloud Console project and enable the API you want to use.
-
Go to the Credentials page and create a new OAuth client ID for your application.
-