bank issues bearer token · Code is sent via browser: interceptable · Token is just a string with no binding · Anyone with the token can use it · Valid for high-value payment operations
Main FAPI Rules Use unconstrained access tokens Use unbound codes when using code flow Authenticate clients using a “password” Use Resource Owner Password Credentials Support public clients
can register a URL scheme matching the code target Attacker could gain access to logs Public clients are extra vulnerable (no client secret) Solution: bind code to client
endpoint code_verifier Identity Provider t n i o p d n e n o i t a z i r o h t u a m o Code fr Browser Authorization Code with PKCE Response type: code Scope: openid