Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

60%
+4 −2
Q&A What happens when you “Sign in with Google”?

I believe when you sign in with Google, the web application running in your browser calls a command to request the Google Sign In page, and includes a “callback URL” as a parameter in that HTTP req...

0 answers  ·  posted 10mo ago by Julius H.‭  ·  edited 10mo ago by Julius H.‭

#2: Post edited by user avatar Julius H.‭ · 2024-02-13T22:26:42Z (10 months ago)
  • I believe when you sign in with Google, the web application running in your browser calls a command to request the Google Sign In page, and includes a “callback URL” as a parameter in that HTTP request.
  • When successful, that Google page running in your browser calls the callback URL, and includes an authentication token as a parameter in the HTTP request.
  • What is that authentication token used for?
  • Is it used to permit future calls to your Google profile info, like API calls for name, profile picture, etc.?
  • Or is it stored as an identification token, like a hashed password, in the user database? (If so, do you receive the same token every time you log in with Google from that same app in the future?)
  • If I understand correctly, when you use SSO (single sign-on) in an authentication framework like Omniauth, communication with the SSO service
  • I believe when you sign in with Google, the web application running in your browser calls a command to request the Google Sign In page, and includes a “callback URL” as a parameter in that HTTP request.
  • When successful, that Google page running in your browser calls the callback URL, and includes an authentication token as a parameter in the HTTP request.
  • What is that authentication token used for?
  • Is it used to permit future calls to your Google profile info, like API calls for name, profile picture, etc.?
  • Or is it stored as an identification token, like a hashed password, in the user database? (If so, do you receive the same token every time you log in with Google from that same app in the future?)
#1: Initial revision by user avatar Julius H.‭ · 2024-02-13T22:25:08Z (10 months ago)
What happens when you “Sign in with Google”?
I believe when you sign in with Google, the web application running in your browser calls a command to request the Google Sign In page, and includes a “callback URL” as a parameter in that HTTP request.

When successful, that Google page running in your browser calls the callback URL, and includes an authentication token as a parameter in the HTTP request.

What is that authentication token used for?

Is it used to permit future calls to your Google profile info, like API calls for name, profile picture, etc.?

Or is it stored as an identification token, like a hashed password, in the user database? (If so, do you receive the same token every time you log in with Google from that same app in the future?)



If I understand correctly, when you use SSO (single sign-on) in an authentication framework like Omniauth, communication with the SSO service