<div dir="ltr"><div><div><div><div><div><div>Hi everyone,<br><br></div>I've been doing a lot of reading on OpenID Connect, and there's one area that I'm a little confused on -- federated identities.  My curiosity was piqued from <a href="https://books.google.com/books?id=_-BPBAAAQBAJ&pg=PA225&lpg=PA225#v=onepage&q&f=false" target="_blank">Page 225 of the book Advanced API Security</a>.  In particular, this quote: <i><br><br>...you need to find a way to exchange the ID token received in OpenID Connect authentication for an OAuth access token, which is defined in the JWT grant types for the OAuth 2.0 specification.  Once the web application receives the ID token ... it has to exchange it for an access token by talking to the OAuth authorization server.  The authorization server must trust the OpenID Connect identity provider.</i><br><br></div>I realize this is a grey area between OIDC and OAuth2... but are there any spec documents that outline this trust relationship, and how it applies to ID Tokens in particular?  (Also, are there any known implementations out there that actually use this?)<br><br></div>I've read through the <a href="https://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-12">draft-ietf-oauth-jwt-bearer </a>document, and it seems very close to what I was looking for.  But the JWT format is a little different from an ID Token, and the audience is not in the format of a typical client_id.  And, I was assuming Authorized Party (azp) would somehow fit into this flow.<br><br></div>Any extra info on this would be very helpful!<br><br></div>Thank you,<br><br></div>--Cal<br><div><div><div><br></div></div></div></div>