okta-sdk-python
okta-sdk-python copied to clipboard
Missing headers throws 400 Bad request when call forgot_password_generate_one_time_token method
Using method forgot_password_generate_one_time_token from user_client.py throws ERROR: {'message': 'Okta HTTP 400 E0000021 Bad request. Accept and/or Content-Type headers likely do not match supported values.\n'}
Found no headers are passed in method here: https://github.com/okta/okta-sdk-python/blob/f8d7bd185eb90771da7973968da7ac4f110d90a1/okta/resource_clients/user_client.py#L4