Preface
Authlete 2.0+ provides Financial-grade API (FAPI) mode, which enables to issue and validate tokens based on FAPI 1.0 Baseline (Financial-grade API Security Profile 1.0 - Part 1: Baseline) and FAPI 1.0 Advanced (Financial-grade API Security Profile 1.0 - Part 2: Advanced). This document describes how Authlete validates requests in FAPI 1.0 Baseline/Advacned mode.Authorization Endpoint
**1. response_type parameter **
2. redirect_uri parameter
The redirect_uri value is required when the scope parameters include “openid”, according to OpenID Connect Core, not Financial-grade API.3. Redirect URI scheme
You cannot use custom schemes in FAPI 1.0 mode. Thus, you may use the method described in 7.2 Claimed “https” Scheme URI Redirection at BCP 212 (OAuth 2.0 for Native Apps) when you want to handle the redirect sequences only in native apps.4. Redirect URI validation
The exact match is required when the scope parameters include “openid” according to OpenID Connect Core, not Financial-grade API.5. state parameter
6. nonce parameter
Authlete considers “if it is desired to obtain a persistent identifier of the authenticated user” as “if an id_token is requested”. Therefore, the nonce parameter is required “when the response_type request parameter includes id_token” or “when the response_type includes code and the scope parameter includes openid.”7. Request Object
8. Request Object Signature
9. Request Parameters outside Request Object
10. exp claim in Request Object
11. aud claim in Request Object
12. Signing Algorithm of Request Object
13. code_challenge parameter
14. code_challenge_method parameter
The code_challenge_method value must be S256 because authorization servers treat the code with plain when the code_challenge_method is not specified.**15. ACR **
This validation won’t be executed in OPEN_BANKING mode.**16. Signing Algorithm of Response JWT **
Request response will be formated in JSON when JARM is used.17. Signing Algorithm of ID Token
Token Endpoint
18. Client Authentication Options
19. Signing Algorithm of Client Assertion
20. Key Size of Client Assertion
21. Signing Algorithm of ID Token
22. Mechanism for sender-constrained access tokens