OpenAM supports the authorization code grant.