BadSchemaError trying to use redirect_query_params key in response
Closed this issue · 1 comments
Kijuoye commented
As the documentation says, I tried to use the redirect_query_params key in response to test the implementation of an OpenID connect provider. However, I get a BadSchemaError as the key is unexpected.
test_name: Test /login endpoint
strict:
- json:off
stages:
- name: Get from /login redirect response
request:
...
response:
status_code: 302
redirect_query_params: # Here, it says: Additional porperties are not allowed ('redirect_query_params' was unexpected)
....
This is esentially the yaml I'm using
michaelboulton commented
Tavern was actually initially made to test OpenID connect providers so it's kind of silly that there wasn't a test written for this 🤦 Should now be fixed in 2.10.2