Skip to content

Commit

Permalink
Add one more error response
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Jul 16, 2024
1 parent f4a6027 commit 5829801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/specs/account-management-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Error response
|If the OAuth provider account is already taken by another account|Invalid|InvariantViolated|`{"cause": { "kind": "DuplicatedIdentity" } }`|
|If `token` is invalid|Invalid|AccountManagementOAuthTokenInvalid||
|If `exclude_state_in_authorization_url` is false, and `state` in `query` is not equal to the one bound to `token`|Invalid|AccountManagementOAuthStateNotBoundToToken||
|If `token` is not bound to the current user|Invalid|AccountManagementOAuthTokenNotBoundToUser||

Here is some pseudo code that you should do

Expand Down

0 comments on commit 5829801

Please sign in to comment.