Re:Beer Drinkers Guide to SAML
by lvh on Friday March 06, 2020 @09:03AM
(#22503589)
The OIDC "id token" is a JWT that contains identity assertions, just like SAML would. You can go fetch the profile via HTTP, but that's mostly because major providers have quietly conceded that JWT is a nightmare, and encoded that fact in their API.
[ Parent
| on HN ]
Re:Beer Drinkers Guide to SAML
by throwaway3157 on Friday March 06, 2020 @10:02PM
(#22509443)
What do you mean here? Encoded in their API?
And If they don’t like JWT, why don’t they use something else?
Major IdPs tend to provide an endpoint where you can send them the JWT, they validate it and return its contents as a plain JSON response. You're effectively trading JWT parsing for HTTPS.
They can't walk JWT back now without breaking existing apps, because parsing it yourself was advertised as an option.