--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/2503c0bb-a97e-40a0-93c7-8c4185c50575n%40googlegroups.com.
Muchas Gracias.. Diego!!
Precisamente estaba peleandome con eso.. muy agradecido!
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CACAt13zTKwE0kB7LtZ2ES%2BwxwgTPoL%3DMJiv_9jwr8btZuqDkPA%40mail.gmail.com.
Daniel, please here the default language is English.
There are three different things...
To use the function I uploaded, you need to have the access token. To do this, first create your project in Google Console Dev, enable the Gmail API, create your consent screen with the correct redirect URI, and also enable permissions there to send Gmail emails (.../auth/gmail.send). Once you have this set up, download the credentials .json file.
Next, you'll need to construct the URL so that Google prompts the user for permission to use the API that you've specified in the URL's scope. For this, you'll need to use a web server. The URL you need to create has this format:
In summary, to obtain an access_token, you'll need to use a web server to handle the request from the URL detailed above. I included an example for mod_harbourV2.1 showing how to obtain an access token to use Google sign-in in a web app. Just add the Gmail scope as detailed above, and you're all set.
Diego
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CACAt13yq5pSCfUvxAa-wCoxKvuh%3DPWwRxnM42BW-oi84%3DNUgtw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADZi2kK9EpnzNRJBV1sTeU0AChSxFToyWsWo3uG0o4ik1U9hNA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CACAt13xmBhUNXA7BiDTyphie_FDdrT%3DP78dXz2fKqV2czXeeUA%40mail.gmail.com.