Skip to content

Commit

Permalink
Added mock api response in /par response wrt. authorization_details p…
Browse files Browse the repository at this point in the history
…arameter
  • Loading branch information
gyaneshgouraw-okta committed Apr 15, 2024
1 parent a185a48 commit f4f5c73
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/auth/fixtures/oauth.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,16 @@
"request_uri": "https://www.request.uri",
"expires_in": 86400
}
},
{
"scope": "https://test-domain.auth0.com",
"method": "POST",
"path": "/oauth/par",
"body": "client_id=test-client-id&response_type=code&redirect_uri=https%3A%2F%2Fexample.com&authorization_details=%5B%7B%22type%22%3A%22payment_initiation%22%2C%22actions%22%3A%5B%22write%22%5D%7D%5D&client_secret=test-client-secret",
"status": 200,
"response": {
"request_uri": "https://www.request.uri",
"expires_in": 86400
}
}
]

0 comments on commit f4f5c73

Please sign in to comment.