it possible create a post login flow using Auth0 Python SDK? I would like to codify the same rather than creating it in dashboard manually.
Welcome to the Auth0 Community!
Thank you for posting your question, Auth0 Python SDK offers Managment API access within the code. To create a action you can utilize the create_action
function → auth0-python/auth0/management/actions.py at master · auth0/auth0-python · GitHub
def create_action(self, body: dict[str, Any]) -> dict[str, Any]:
"""Create a new action.
Args:
body (dict): Attributes for the new action.
See: https://auth0.com/docs/api/management/v2#!/Actions/post_action
"""
return self.client.post(self._url("actions"), data=body)
Thanks
Dawid
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.