yaal-coop / scim2-client

Pythonically build SCIM requests and parse SCIM responses
https://scim2-client.readthedocs.io
Apache License 2.0
4 stars 4 forks source link

Is there a way to pass Bearer token? #21

Closed fflorent closed 3 weeks ago

fflorent commented 3 weeks ago

We can pass the option --token to scim2-test, but such option does not seem exist for scim2-client.

azmeuk commented 3 weeks ago

The network related parameters are delegated to httpx, as shown in the README, any header can be passed with the headers parameter:

https://github.com/yaal-coop/scim2-client/blob/41d575fb2254460e9c44c7bcb7d6f853e8319dbd/README.md?plain=1#L34-L35

fflorent commented 3 weeks ago

Sorry, I mixed this project with scim-cli which in their README describe the --headers options.