Closed (fixed)
Project:
Simple Oauth Google Connect
Version:
1.0.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2021 at 14:26 UTC
Updated:
16 May 2022 at 07:21 UTC
Jump to comment: Most recent
Comments
Comment #2
tri tran commented1/ Create a GG App
2/ Create new html page, insert code below:
3/ Run page on browser, after that click Sign In button.
4/ Process with Google UI. To the end, Google will response the credential:
- access_token
- id
- expires_at
5/ Get the credential above and input to param of API, like this:
Comment #3
tri tran commentedComment #4
phthlaap commentedComment #6
goodboy commented4. Process with Google UI. To the end, Google will response the credential:
- access_token
- id
- expires_at
Google didn't respond id parameter, I found id_token Google parameter and it used on validateUser() function.
5. Is it required "Cookie" parameter on header?
Can we don't use "client_secret" parameter (it's not required parameter on Simple Oath module)?
Are these settings correct? In which modules can I see the use of these parameters?
Comment #7
khoavd commentedGoogle has been updated APIS , please use this new quickstart code in this guide : https://developers.google.com/identity/oauth2/web/guides/migration-to-gi...
Comment #8
khoavd commented