Update googleapi/README.md
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m43s
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m43s
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Google OAuth Setup (to send mails)
|
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?
|
- GMail API akivieren: https://console.cloud.google.com/apis/library/gmail.googleapis.com?
|
||||||
|
|
||||||
- Create new Project (aka 'BackendMailAPI') @ https://console.cloud.google.com/projectcreate
|
- Create new Project (aka 'BackendMailAPI') @ https://console.cloud.google.com/projectcreate
|
||||||
User Type: Intern
|
User Type: Intern
|
||||||
Anwendungsname: 'BackendMailAPI'
|
Anwendungsname: 'BackendMailAPI'
|
||||||
Support-Email: ...
|
Support-Email: ...
|
||||||
Authorisierte Domains: 'heydyno.de' (or project domain)
|
Authorisierte Domains: 'heydyno.de' (or project domain)
|
||||||
Kontakt-Email: ...
|
Kontakt-Email: ...
|
||||||
|
|
||||||
|
|
||||||
- Unter "Anmeldedaten" neuer OAuth Client erstellen @ https://console.cloud.google.com/apis/credentials
|
- Unter "API und Dienste" > "Anmeldedaten" neuer OAuth Client erstellen @ https://console.cloud.google.com/apis/credentials
|
||||||
Anwendungstyp: Web
|
Anwendungstyp: Web
|
||||||
Name: 'BackendMailOAuth'
|
Name: 'BackendMailOAuth'
|
||||||
Redirect-Uri: 'http://localhost/oauth'
|
Redirect-Uri: 'http://localhost/oauth'
|
||||||
Client-ID und Client-Key merken
|
Client-ID und Client-Key merken
|
||||||
|
|
||||||
- Open in Browser:
|
- 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
|
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 aus redirected URI merken
|
||||||
|
|
||||||
- Code via request einlösen (und refresh_roken merken):
|
- Code via request einlösen (und refresh_roken merken):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user