diff --git a/googleapi/README.md b/googleapi/README.md index ad54bc8..2787ac0 100644 --- a/googleapi/README.md +++ b/googleapi/README.md @@ -1,4 +1,3 @@ - Google OAuth Setup (to send mails) ================================== @@ -7,23 +6,23 @@ Google OAuth Setup (to send mails) - GMail API akivieren: https://console.cloud.google.com/apis/library/gmail.googleapis.com? - - Create new Project (aka 'BackendMailAPI') @ https://console.cloud.google.com/projectcreate - User Type: Intern - Anwendungsname: 'BackendMailAPI' - Support-Email: ... - Authorisierte Domains: 'heydyno.de' (or project domain) - Kontakt-Email: ... + - Create new Project (aka 'BackendMailAPI') @ https://console.cloud.google.com/projectcreate + User Type: Intern + Anwendungsname: 'BackendMailAPI' + Support-Email: ... + Authorisierte Domains: 'heydyno.de' (or project domain) + Kontakt-Email: ... - - Unter "Anmeldedaten" neuer OAuth Client erstellen @ https://console.cloud.google.com/apis/credentials - Anwendungstyp: Web - Name: 'BackendMailOAuth' - Redirect-Uri: 'http://localhost/oauth' - Client-ID und Client-Key merken + - Unter "API und Dienste" > "Anmeldedaten" neuer OAuth Client erstellen @ https://console.cloud.google.com/apis/credentials + Anwendungstyp: Web + Name: 'BackendMailOAuth' + Redirect-Uri: 'http://localhost/oauth' + Client-ID und Client-Key merken - - Open in Browser: - https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=http://localhost/oauth&prompt=consent&response_type=code&client_id={...}&scope=https://www.googleapis.com/auth/gmail.send&access_type=offline - Code aus redirected URI merken + - Open in Browser: + https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=http://localhost/oauth&prompt=consent&response_type=code&client_id={...}&scope=https://www.googleapis.com/auth/gmail.send&access_type=offline + Code aus redirected URI merken - Code via request einlösen (und refresh_roken merken):