Jump to content

imperyal

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

2 Neutral
  1. imperyal

    Sending Email via GMail Using OAuth 2.0 via Indy

    Yeah... It appears Delphi 2010 does not have the REST components... Maybe you should try @Remy Lebeau suggestion, use the latest Indy branch. Good luck!
  2. imperyal

    Sending Email via GMail Using OAuth 2.0 via Indy

    Hello, You can try this: delphi-google-oauth2 Not tested on Delphi 2010, but you can give it a try. There's a Demo in the repo, just open it and set your ClientID and ClientSecret.
  3. imperyal

    Sending Email via GMail Using OAuth 2.0 via Indy

    I ended up creating a TCustomAuthenticator descendent class for this. It implements a OAuth2 Authenticator: - Allows authorization via externel browser - Uses PKCE flow for added security - Generates new tokens when they expire (using the refresh token) In the repository there's a Demo app too. Feel free to use it if you like: delphi-google-oauth2 repo
×