goext/googleapi
Mike Schwörer 358c238f3d
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m28s
google mail API [[FIN]]
2023-12-04 13:55:41 +01:00
..
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00
2023-12-01 18:33:04 +01:00
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00
2023-12-04 13:55:41 +01:00

Google OAuth Setup (to send mails)

curl --request POST \
  --url https://oauth2.googleapis.com/token \
  --data code={...} \
  --data redirect_uri=http://localhost/oauth \
  --data client_id={...} \
  --data client_secret={...} \
  --data grant_type=authorization_code \
  --data scope=https://www.googleapis.com/auth/gmail.send
  • Fertig, mit client_id, client_secret und refresh_token kann das package benutzt werden