Tools, FAQ, Tutorials:
Capture Google OpenID Connect Authentication Response
How to capture the Google OpenID Connect Authentication Response?
✍: FYIcenter.com
If you are use the Google-OpenID-Connect-Test-Page.html
test Web form using "response_type=id_token" to test the implicit flow,
you can capture the id_token value with the browser.
1. Run Google-OpenID-Connect-Test-Page.html in a Web browser.
2. Enter "id_token" in the "response_type" field.
3. Click "Submit". You see Google sign-in page.
4. Sign in with any Google account. You see browser is redirected to "openID_receiver.php" server side script. But the script will get no parameters.
5. Copy the value in the browser URL address input box. The "id_token" value is included in the "anchor" part after the "#":
http://dev.fyicenter.com/openID_receiver.php#state=7654321&id_token=ey4MjZkZDFkYzE5mN...
6. Copy the "id_token" value "ey4MjZkZDFkYzE5mN..." and decode it with the Base64URL decode algorithm.
⇒ Build Implicit Flow with Google OpenID Connect
⇐ Google OpenID Authentication Request Test
2022-03-29, ∼2092🔥, 0💬
Popular Posts:
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example ...
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C...
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service o...