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?

Oauth2 client credentials grant: does authorization server always have to return an opaque access token?

In oauth2 client credentials grant, does the authorization server always return an opaque access token? Or could this also be a signed JWT which the client can then use with an API without requiring the use of introspection?

Continue reading Oauth2 client credentials grant: does authorization server always have to return an opaque access token?

What are the downsides of matching by email in SSO logins (e.g. Google, Facebook, Apple, Microsoft)?

Context
I’ve read somewhere that one should not match by email (e.g. the email given by the Google JWT token) when using SSO (e.g. OpenID Connect) but it’s not clear to me why.
The recommended approach seems to be using aud and sub claims … Continue reading What are the downsides of matching by email in SSO logins (e.g. Google, Facebook, Apple, Microsoft)?