Skip to content

Commit

Permalink
fix(deps): update dependency descope to v1.5.0 (descope#131)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [descope](https://descope.com/)
([source](https://togithub.com/descope/python-sdk)) | dependencies |
minor | `1.1.1` -> `1.5.0` |

---

### Release Notes

<details>
<summary>descope/python-sdk</summary>

###
[`v1.5.0`](https://togithub.com/descope/python-sdk/releases/tag/1.5.0)

[Compare
Source](https://togithub.com/descope/python-sdk/compare/1.1.1...1.5.0)

##### Enhancements

- **User custom attributes** 💫 : We're glad to announce that we now
support adding custom attributes to the user object! The default user
object is great, but sometimes you want to keep a bit more information
on it for your app's needs.
- Creation of the attributes are done from the [Descope
Console](https://app.descope.com/), and you can find them in the user
object under the `custom_attributes` property. Option to set, update and
delete the values are also available from the SDK.
- **Add a Login ID to the user upon update**: When updating a user's
phone or email (via OTP / Magic Link / Enchanted Link), you can decide
if to make that new value part of the user's Login IDs so that they can
later on authenticate with them.
There can be times where an existing user with the new identifier
already exists in your user database - so a merging strategy needs to be
defined as well.
    All of this can be done using the `add_to_login_ids` parameter.
- **Import and export of Flows and Themes**: If you want to export or
import flows and themes from one project to another - you can do so now
with supporting commands, such as `export_flow`. Examples can be found
in the SDK's README.
- **Get tenant SSO configuration**: Using the `get_settings` function,
you can now fetch a specific tenant's SSO configuration. Example on how
to do so in the repo's README, under the ['Manage SSO Settings'
section](https://togithub.com/descope/python-sdk#manage-sso-setting).
- **User attribute updates**: You can now update the user's picture
using the new user `update_picture` command, and user custom attributes
using the `update_custom_attribute` command.
- **Timeouts for request**: We added configurable timeouts to our
request. Default is set by the `DEFAULT_TIMEOUT_SECONDS` property and is
set to 60 seconds. ([@&#8203;tebeka](https://togithub.com/tebeka))

##### Bug fixes

- **Test user functions**: Deleting and authenticating test users didn't
work in some cases as they were using the wrong methods. We fixed it and
now it should work smoothly.

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTAuMiJ9-->

Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
  • Loading branch information
descope[bot] and descope[bot] authored May 8, 2023
1 parent 1e8c3b0 commit 0884fe2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
Django = "==4.2"
descope = "1.1.1"
descope = "1.5.0"

[tool.poetry.group.dev.dependencies]
flake8 = "6.0.0"
Expand Down

0 comments on commit 0884fe2

Please sign in to comment.