Google

  • 18 Dec

    Sending emails using GMail SMTP with OAuth2 authentication

    Q: Sending emails using GMail SMTP with OAuth2 authentication. I am trying to set up an outgoing email notification that will happen when a file moves to it’s destination.

    8th of May 2022, we are working on an update because of: OAuth out-of-band (oob) flow will be deprecated

    Instead of the Google URI urn:ietf:wg:oauth:2.0:oob you’ll have to use a loopback (IP) address as Redirect URI like http://127.0.0.1 or http://localhost

    In this update (version v2022.5.8.0) a redirect port will be added which is only needed during the OAuth2 verification setup.

    Please check: Update Info

     

    A: Yes this is possible.

    First check if you enabled the GMail API in your account: https://support.google.com/googleapi/answer/6158841?hl=en

    Secondly we’ll need credentials ‘Client ID and Client Secret’  for the OAuth2 authentication: https://support.google.com/googleapi/answer/6158857?hl=en&ref_topic=7013279

    We added some screenshots to help you with the setup.

    Limagito File Mover SMTP Setup

    Don’t forget the Security Options:

    Limagito File Mover SMTP Setup

    OAuth2 Setup:

    Limagito File Mover SMTP OAuth2 authentication

    Please add the following information:
    – Authorization Endpoint URL: https://accounts.google.com/o/oauth2/v2/auth
    – Token Endpoint URL: https://www.googleapis.com/oauth2/v4/token
    – Client ID
    – Client Secret
    – Scope: https://mail.google.com/
    – Redirect URI: urn:ietf:wg:oauth:2.0:oob
    Click GET and your browser will open. Follow steps and copy / paste the code from your browser in the ‘Auth Code’ field.
    This will automatically fill in Refresh Token and Access Token. Do not forget to <Save> afterwards.

    Limagito File Mover SMTP OAuth2 authentication

    RunTime Log Result when testing:

    Limagito File Mover RunTime log result

    #FileTransfer

    If you need any info about this ‘GMail SMTP’ question, please let us know.

    Best regards,

    Limagito Team

  • 10 Jul

    Google Cloud Storage as Destination in Limagito File Mover

    Google Cloud Storage as Destination was added in Limagito File Mover version v2021.7.8.0. In the following example we’ll upload a File to Google Cloud Storage.

    1.First we added a Windows folder as Source:

    Limagito File Mover Windows Folder as Source

    2. Next we added ‘Google Cloud Storage (G Cloud)’ as Destination:

    Limagito File Mover Select Destination

    3.We want the files to be copied into the ‘/Test’ folder of Bucket ‘limagito’. At the moment we use the ‘Service Account JSON Private Key’ as authentication. You need to generate this in your Google Cloud Setup and after download import this JSON file using the Import Button.

    Limagito File Mover Goolge Cloud Setup

    Google Cloud Storage Service account key JSON file

    Don’t forget to set the Bucketname. In our case it is called ‘limagito’.

    Limagito File Mover Goolge Cloud Bucketname Setup

    Hit ‘Connect’ to test the connection:

    Limagito File Mover Google Cloud Storage Connection test

    4. RunTime Log Result:

    Limagito File Mover RunTime Log Result

    5. Result in the Google Cloud Storage Browser:

    Limagito File Mover Cloud Browser Result

    #FileTransfer

    If you need any info about this new ‘Google Cloud Storage as Destination’ option, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Google
  • 16 Feb

    How-To Get Client ID and Secret for Google Drive in LimagitoX File Mover

    Some updated screenshot since last post: https://limagito.com/using-google-drive-client-id-secret/.

    Before you can use ‘Google Drive’ in our File Mover, you need to register a new application in the Google APIs Console.

    • When Google Drive API not enabled yet, please select “ENABLE”

    • When Google Drive API already enabled, please select “MANAGE”

    • Select “CREATE CREDENTIALS”

    • Credentials Setup configuration, part 1

    • Credentials Setup configuration, part 2

    • Credentials Setup configuration, part 3

    • Credentials Setup configuration, part 4

    • Credentials Setup configuration, part 5

    Here you will find your Client ID and Client Secret needed for the Google Drive Setup within our File Mover.

    • Google Drive Setup LimagitoX File Mover

    LimagitoX-Drive-Setup

    If you need any help, please let us know.

    Limagito Team

    By Limagito-Team Google , ,
1 2 3 4
SEARCH