...
Call the https://oauth2.googleapis.com/token
endpoint and set the following parameters using Postman REST Post:
...
title | Set parameters in Postman |
---|
https://oauth2.googleapis.com/token?
|
...
client_id=445703106862-22kvtftg26t2gv0h9ide22saadmh35gp.apps.googleusercontent.com&
|
...
client_secret=m7RR91Dg-CiMXGI0a7hzg5Aj&
|
...
code=4/3wGVg78nKxConwa0RlywkfE-yZw0An9GvKqmoTPFb-6lS6bqU4mQVyDBV9AFazcQMSTsgJofy0Ut7DHQHvK1Vi0&
|
...
grant_type=authorization_code
|
...
redirect_uri=https://snap.elastic.snaplogic.com
|
...
Image Added |
2. The URI looks like : https://oauth2.googleapis.com/token?client_id=445703106862-22kvtftg26t2gv0h9ide22saadmh35gp.apps.googleusercontent.com&client_secret=m7RR91Dg-CiMXGI0a7hzg5Aj&code=4/3wGVg78nKxConwa0RlywkfE-yZw0An9GvKqmoTPFb-6lS6bqU4mQVyDBV9AFazcQMSTsgJofy0Ut7DHQHvK1Vi0&grant_type=authorization_code&redirect_uri=https://snap.elastic.snaplogic.com
32. Use the obtained access token in creating the Google Dynamic OAuth2 account.
Note |
---|
The access token that is generated expires in one hour. |
...
Related Links: