Should I use separate OIDC clients for RFC-8252 (OIDC w/ PKCE) client and my HTTP API?

I have a non-browser client (Desktop app) that makes HTTP requests to my API.
I have the desktop client configured to use RFC-8252 (spawn an ephemeral HTTP server to handle the auth code flow’s HTTP redirect) so that the user enters creden… Continue reading Should I use separate OIDC clients for RFC-8252 (OIDC w/ PKCE) client and my HTTP API?

Why oauth2 token refresh may issue new refresh token? (is this mitigation of some kind of threat)

During token refresh, the auth server may issue new refresh token.
https://datatracker.ietf.org/doc/html/rfc6749#page-11

(H) The authorization server authenticates the client and validates
the refresh token, and if valid, issu… Continue reading Why oauth2 token refresh may issue new refresh token? (is this mitigation of some kind of threat)

Must the refresh_token request come from the same URI origin as in the original redirect_uri?

I’ve been playing around with Oauth 2.0 Playground to understand Google’s Oauth implementation and Oauth in general.
And, I had an idea. I generated an access token running under user_A. Then, I took that access token and used it in Postma… Continue reading Must the refresh_token request come from the same URI origin as in the original redirect_uri?

Is there any sense in use of Authorization Code Binding To DPoP Key when client is confidential and uses PKCE?

This spec defined DPoP mechanism to bind cryptographically bind access tokens. There is also mention about authorization code binding.
But hey, do you see any sense in it? Ok, it obviously is a way to prevent authorization code injection a… Continue reading Is there any sense in use of Authorization Code Binding To DPoP Key when client is confidential and uses PKCE?