News for hackers. Stuff that matters.
Re:A Gentle Introduction to SAML by mdavidn on Monday July 22, 2024 @03:26PM (#41038750)
This sounds like a complaint with Google's implementation, not with OAuth in general. The correct scopes should limit information sharing to the user's profile. All of the security and privacy concerns that necessitate an explicit user interaction apply to SAML too.
Re:A Gentle Introduction to SAML by ratiolat on Monday July 22, 2024 @04:00PM (#41039145)
That's the thing - authentication capability is basically sideeffect of Oauth/OIDC. SAAS x can request whatever they want via OIDC and then user can either accept it or decline it. This is protocol, not google specific matter. Ask ordinary user how they understand what is being asked from them when they are trying "to log in" via OIDC/Oauth. With SAML it's the other way around - administrator chooses what is being sent to SAAS x, user does not need to decide anything nor do they get hard to understand prompts.
Re:A Gentle Introduction to SAML by rb12345 on Monday July 22, 2024 @06:20PM (#41040452)
I'd say the main difference is that OAuth is granting the SP the ability to "do stuff" as the original user (including reading the user's profile details, as OIDC does), as opposed to SAML's approach of just sending attributes describing them.

For what it's worth, it is certainly possible for SAML SPs to flag that certain attributes should/must be released to them via their metadata, but the actual release is at the whim of the IdP and its operators. It's also possible for a SAML IdP to expose that level of detail to its end users and allow them to agree/disagree to the attribute release, although I'd be surprised if that behaviour was particularly common in practice.

Re:A Gentle Introduction to SAML by tptacek on Monday July 22, 2024 @08:05PM (#41041143)
The difference between OIDC and OAuth boils down to exchanging attribute assertions describing a user as opposed to the delegation of a specific set of allowed actions, as OAuth was intended to do. OIDC and SAML are basically the same thing, with OIDC being a somewhat less frightening and more modern protocol.
Re:A Gentle Introduction to SAML by mdavidn on Tuesday July 23, 2024 @02:29AM (#41043121)
Reading the user's profile information _is_ the delegated action. OAuth providers were already doing this prior to OIDC but in incompatible ways. OIDC standardized how that information is requested and returned.
Re:A Gentle Introduction to SAML by tptacek on Tuesday July 23, 2024 @01:12PM (#41048455)
No, the whole point of OIDC is that permission to read your profile is not semantically the same thing as authenticated sign-on.
Re:A Gentle Introduction to SAML by eropple on Monday July 22, 2024 @03:55PM (#41039083)
Should, but don't. OAuth2/OIDC implementations tend to be way more transparent about the asks being made between an IdP and SP. It can be confusing. (I agree, however, it's the right path.)