Skip to content

Commit

Permalink
chore: add consentRequests error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sridharvoruganti committed Apr 19, 2021
1 parent f6828b9 commit d45c17f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/linking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,12 @@ TODO!
## 4.2. Bad consentRequests
When the DFSP receives the POST /consentRequests request from the PISP, any number of processing or validation errors could occur, such as:

1. FSP does not support any requested authentication channels
2. FSP does not support any requested scope actions
3. FSP does not find scopes suitable
4. FSP does not trust PISP callback URI
5. FSP does not allow consent requests for specified username
6. Any other checks or validation of the consentRequests on the DFSP's side fail
1. FSP does not support any requested authentication channels (Error code: `7203`)
2. FSP does not support any requested scope actions (Error code: `7204`)
3. FSP does not find scopes suitable (Error code: `7209`)
4. FSP does not trust PISP callback URI (Error code: `7210`)
5. FSP does not allow consent requests for specified username (Error code: `7211`)
6. Any other checks or validation of the consentRequests on the DFSP's side fail (Error code: `7208`)

In this case, the DFSP must inform the PISP of the failure by sending a PUT /consentRequests/{ID}/error callback to the PISP.

Expand Down
2 changes: 1 addition & 1 deletion docs/linking/error_scenarios/1-discovery-error.puml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deactivate PISP
...

note over App, DFSP
The PISP can now show error message and user can try again with another username.
The PISP can now show error message and user can try again with another username or different DFSP.
end note

...
Expand Down
4 changes: 2 additions & 2 deletions docs/out/linking/error_scenarios/1-discovery-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d45c17f

Please sign in to comment.