Tools, FAQ, Tutorials:
Google OpenID Connect Access Token Request
What is the Google OpenID Connect Access Token Request?
✍: FYIcenter.com
If you want to implement the authentication code flow, also called server flow,
to integrate your application with Google OpenID Connect,
you need to have a good understanding of the
Google OpenID Connect access token request, which is the second call you
have to make in the authentication code flow.
Here is an example of Google OpenID Connect access token request and its parameters:
POST /token HTTP/1.1 Host: oauth2.googleapis.com Content-Type: application/x-www-form-urlencoded code=4/P7q7W91a-oMsCeLvIaQm6bTrgtp7 &client_id=9150833677096-....apps.googleusercontent.com &client_secret=JqQX2PNo9bpM0uEihUPzyrh &redirect_uri=http%3A%2F%2Ffyicenter.com%3AopenID_receiver.php &grant_type=authorization_code
Here are the parameters you need to provide:
Note that the end point for the access token request is different that the authentication request. You need to look it up from the metadata document.
Request End Point Authentication https://accounts.google.com/o/oauth2/auth Access Token https://oauth2.googleapis.com/token
Â
⇒ Initiate Google OpenID Connect Access Token Request
⇠Validate Google OpenID Connect id_token Signature
⇑ Google OpenID Connect Integration
⇑⇑ OpenID Tutorials
2019-02-05, 1084👍, 0💬
Popular Posts:
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...