You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling:
api_response = api_instance.get_self_service_browser_registration_request(request)
I get the following exception: Invalid value for 'active', must not be 'None'
This is the same problem as #10 and #11 and I think the solution here is the same.
omitempty-flag is set but required true is also set so an exception is thrown in the Python SDK when it is omitted. The solution is probably to remove required: true. Strangely, this is only set for the registration flow, not any other flow and I don't know if you can set this active property. I don't see anything about it in the documentation. Also the active property documentation in the SDK seems a bit broken, it just says:
and so on.
The text was updated successfully, but these errors were encountered:
AntiSC2
added a commit
to AntiSC2/kratos
that referenced
this issue
May 9, 2020
Kratos version: v0.2.1-alpha.1
Oathkeeper version: v0.38.1-beta.1
SDK version: Python 0.2.1a1
When calling:
api_response = api_instance.get_self_service_browser_registration_request(request)
I get the following exception:
Invalid value for 'active', must not be 'None'
This is the same problem as #10 and #11 and I think the solution here is the same.
The following line is the one that causes the problem: https://github.com/ory/kratos/blob/master/selfservice/flow/registration/request.go#L45
omitempty
-flag is set but required true is also set so an exception is thrown in the Python SDK when it is omitted. The solution is probably to removerequired: true
. Strangely, this is only set for the registration flow, not any other flow and I don't know if you can set this active property. I don't see anything about it in the documentation. Also the active property documentation in the SDK seems a bit broken, it just says:The text was updated successfully, but these errors were encountered: