Why doesn’t OAuth/OpenID Connect use window.open() and postMessage() instead of redirects

I needed a way to sync user data across multiple domains that I own, so I figured I might as well implement an OAuth server, since others have already spent lots of effort in making sure its design is secure.
But it occurred to me that the… Continue reading Why doesn’t OAuth/OpenID Connect use window.open() and postMessage() instead of redirects

JWT-bearer grant with JWT assertion vs. client credentials grant with JWT client assertion?

Can anyone please shed some light on the difference between the following two OAuth grant type scenarios?
JWT grant with JWT assertion

grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
assertion=${JWT}

Defined in RFC 7523 § 2.1. An … Continue reading JWT-bearer grant with JWT assertion vs. client credentials grant with JWT client assertion?

OAuth 2.0: Is it possible to replace PKCE with DPoP-like proof-of-possession?

So I’m currently learning about Demonstrating Proof-of-Possession (DPoP) in Oauth after previously learnt about Proof Key for Code Exchange (PKCE). one interesting idea i’ve been thinking is, is it possible to replace the challenge/verifie… Continue reading OAuth 2.0: Is it possible to replace PKCE with DPoP-like proof-of-possession?

Please review the token_exchange delegation flow implementation draft I have put together? [closed]

I am trying to understand the complete flow and I have put together an implementation draft.
Please forgive any silly mistakes.
Here’s the draft:
https://github.com/arjunballa/api-security/blob/main/token-exchange-delegation-flow.md

Continue reading Please review the token_exchange delegation flow implementation draft I have put together? [closed]