auth0-python icon indicating copy to clipboard operation
auth0-python copied to clipboard

Add functions to manage Guardian settings available via the REST API, e.g. available message types.

Open mardav10 opened this issue 2 years ago • 0 comments

Checklist

  • [X] I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • [X] I have looked into the API documentation and have not found a suitable solution or answer.
  • [X] I have searched the issues and have not found a suitable solution or answer.
  • [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I've been unable to find functions in the SDK to manage the following settings:

Selecting the sms provider PUT /api/v2/guardian/factors/sms/selected-provider https://auth0.com/docs/api/management/v2/guardian/put-sms-providers Auth0 UI: Security / Multi-factor Auth / Phone Message / Choose a delivery provider

Setting the available message types for the SMS (Phone) factor PUT /api/v2/guardian/factors/phone/message-types https://auth0.com/docs/api/management/v2/guardian/put-message-types Auth0 UI: Security / Multi-factor Auth / Phone Message / Choose a delivery method

Setting the policy for when to require multi-factor auth Possible settings in the UI are: "Never" / "Use Adaptive MFA" / "Always" UI: Security / Multi-factor Auth / Define policies

Describe the ideal solution

Expand the SDK with new functions or modify existing functions to support this functionality.

Alternatives and current workarounds

I haven't found a work around using the SDK, but it is of course possible to use the REST API directly.

Additional context

No response

mardav10 avatar Dec 05 '23 14:12 mardav10