Tools, FAQ, Tutorials:
Build Authorization Code Flow with Google OpenID Connect
How to implement the OpenID Authorization Code Flow with Google OpenID Connect service?
✍: FYIcenter.com
If you want to implement the OpenID Authorization Code Flow (also called the Server Flow) in your Web application to use Google OpenID Connect service, you should follow these steps:
1. Building the Google OpenID Connect Sign-on authentication request:
2. Triggering the end user browser to fire the authentication request to https://accounts.google.com/o/oauth2/auth.
3. Letting the end user sign on to the Active Directory - This is controlled by the Google OpenID Connect service. Your application is not involved in this step.
4. Validating the authentication response:
5. Building the Google OpenID Connect access token request:
6. Calling the access token request to https://oauth2.googleapis.com/token with the POST method.
7. Validating the access token response:
5. Letting the end user to use your application:
Here is a diagram that shows the Google OpenID Connect OpenID Authentication Code Flow:
⇒ Integration with Azure Active Directory
⇐ Google OpenID Connect Access Token Request Test Page
2022-02-04, 1235🔥, 0💬
Popular Posts:
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
How to register and get an application ID from Azure AD? The first step to use Azure AD is to regist...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...