-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Management #84
Management #84
Conversation
thought about it a bit when implementing it in |
Great job with the docs/comments by the way |
+1 on that |
That's what I did. What am I missing? |
d4267d3
to
15a433d
Compare
Coverage Report
|
You're right, I missed that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add some samples, see our samples directory for reference) as this is very important (developer will probably start from there :)
Did you try to install the package and run some of these functions? Im asking as sometimes when it run from the package (actually from the installed folder) the imports behave a little bit different so just to make sure all is ok..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! 👏
@itaihanski please dont forget to add samples |
I added them. Did you not see? |
Yea Yea, sorry my bad. |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [descope](https://descope.com/) ([source](https://togithub.com/descope/python-sdk)) | dependencies | minor | `0.2.0` -> `==0.3.0` | | [descope](https://descope.com/) ([source](https://togithub.com/descope/python-sdk)) | | minor | `==0.2.0` -> `==0.3.0` | --- ### Release Notes <details> <summary>descope/python-sdk</summary> ### [`v0.3.0`](https://togithub.com/descope/python-sdk/releases/tag/0.3.0) [Compare Source](https://togithub.com/descope/python-sdk/compare/0.2.0...0.3.0) ##### What's Changed - Change exchange to POST by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/63](https://togithub.com/descope/python-sdk/pull/63) - Change access key and refresh session to POST by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/64](https://togithub.com/descope/python-sdk/pull/64) - 1. adjust email_validator for the new version (disable call for dns q… by [@​guyp-descope](https://togithub.com/guyp-descope) in [https://github.com/descope/python-sdk/pull/65](https://togithub.com/descope/python-sdk/pull/65) - fix: use cov xml file for result by [@​omercnet](https://togithub.com/omercnet) in [https://github.com/descope/python-sdk/pull/62](https://togithub.com/descope/python-sdk/pull/62) - chore(deps): update dependency black to v22.10.0 by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/67](https://togithub.com/descope/python-sdk/pull/67) - Extend API to support custom claims by [@​aviadl](https://togithub.com/aviadl) in [https://github.com/descope/python-sdk/pull/68](https://togithub.com/descope/python-sdk/pull/68) - Change SAML start to be post by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/70](https://togithub.com/descope/python-sdk/pull/70) - Change oauth authorize to be post by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/71](https://togithub.com/descope/python-sdk/pull/71) - Fix oauth/saml start to be POST with query params by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/72](https://togithub.com/descope/python-sdk/pull/72) - Add useful headers by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/73](https://togithub.com/descope/python-sdk/pull/73) - Stepup take 2 by [@​aviadl](https://togithub.com/aviadl) in [https://github.com/descope/python-sdk/pull/74](https://togithub.com/descope/python-sdk/pull/74) - Adjust jwt response for access key with authz by [@​guyp-descope](https://togithub.com/guyp-descope) in [https://github.com/descope/python-sdk/pull/75](https://togithub.com/descope/python-sdk/pull/75) - fix(deps): update dependency cryptography to v38.0.3 \[security] by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/76](https://togithub.com/descope/python-sdk/pull/76) - fix(deps): update dependency pyjwt to v2.6.0 by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/77](https://togithub.com/descope/python-sdk/pull/77) - chore(deps): update dependency pytest-cov to v4 by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/69](https://togithub.com/descope/python-sdk/pull/69) - chore(deps): update dependency pytest to v7.2.0 by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/79](https://togithub.com/descope/python-sdk/pull/79) - Add webauthn SignUpOrIn function by [@​shilgapira](https://togithub.com/shilgapira) in [https://github.com/descope/python-sdk/pull/80](https://togithub.com/descope/python-sdk/pull/80) - Have both logout and logout_all as optinos by [@​slavikm](https://togithub.com/slavikm) in [https://github.com/descope/python-sdk/pull/81](https://togithub.com/descope/python-sdk/pull/81) - Add MFA support by [@​aviadl](https://togithub.com/aviadl) in [https://github.com/descope/python-sdk/pull/82](https://togithub.com/descope/python-sdk/pull/82) - chore(deps): update dependency liccheck to v0.7.3 by [@​descope](https://togithub.com/descope) in [https://github.com/descope/python-sdk/pull/83](https://togithub.com/descope/python-sdk/pull/83) - Management by [@​itaihanski](https://togithub.com/itaihanski) in [https://github.com/descope/python-sdk/pull/84](https://togithub.com/descope/python-sdk/pull/84) - Add issuer support as url by [@​dorsha](https://togithub.com/dorsha) in [https://github.com/descope/python-sdk/pull/85](https://togithub.com/descope/python-sdk/pull/85) - Get management key from env var or config params by [@​shilgapira](https://togithub.com/shilgapira) in [https://github.com/descope/python-sdk/pull/87](https://togithub.com/descope/python-sdk/pull/87) - Enchanted link support by [@​aviadl](https://togithub.com/aviadl) in [https://github.com/descope/python-sdk/pull/86](https://togithub.com/descope/python-sdk/pull/86) - Ensure management key is set before passing calls to management APIs by [@​shilgapira](https://togithub.com/shilgapira) in [https://github.com/descope/python-sdk/pull/90](https://togithub.com/descope/python-sdk/pull/90) - Set localhost as default base_url (instead of prod link) by [@​guyp-descope](https://togithub.com/guyp-descope) in [https://github.com/descope/python-sdk/pull/88](https://togithub.com/descope/python-sdk/pull/88) - update poetry lockfile by [@​omercnet](https://togithub.com/omercnet) in [https://github.com/descope/python-sdk/pull/89](https://togithub.com/descope/python-sdk/pull/89) ##### New Contributors - [@​itaihanski](https://togithub.com/itaihanski) made their first contribution in [https://github.com/descope/python-sdk/pull/84](https://togithub.com/descope/python-sdk/pull/84) **Full Changelog**: descope/python-sdk@0.2.0...0.3.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzguMSIsInVwZGF0ZWRJblZlciI6IjMyLjIzOC4xIn0=--> Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
Related Issues
https://github.com/descope/etc/issues/806
Description
This PR adds management capabilities to the SDK, allowing Descopers to manage tenants, users and SSO setting in a secure fashion.
Must