News for hackers. Stuff that matters.
Re:Millions of Accounts Vulnerable Due to Google's OAuth Flaw by nodamage on Friday January 17, 2025 @04:10PM (#42743263)
I suppose this comes down to the interpretation of the documentation. Note that it says "a workspace", not "which workspace".

1) The "hd" claim tells you that the user is a member of a workspace. If the user is a member of a workspace it tells you the domain name of that workspace.

2) The "hd" claim tells you which specific workspace the user is a member of.

You are taking interpretation (2) whereas I am taking interpretation (1). I believe interpretation (1) is correct given the next sentence says you can use the "hd" claim to restrict access to only members of certain domains. If interpretation (2) was intended, they would have instead said you can use the "hd" claim to restrict access to only members of certain workspaces.'

Given the totality of the documentation where:

a) Google describes public applications as intended for logins from all Google accounts regardless of workspace, and

b) Google offers the internal application option for situations where you want to restrict logins to users of a specific workplace,

I'm going to stand by my conclusion that the fault lies with service providers choosing the wrong integration option in the first place and then making invalid assumptions about what information the "hd" parameter supplies.

There are no comments on this comment yet.