Skip to content

Commit

Permalink
Add API endpoints for configuring SAML and user management
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-propelauth committed Sep 19, 2022
1 parent aed9dc7 commit 77bd778
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion propelauth_fastapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def require_org_member(user: User, required_org_id: str, minimum_required_role:
"create_user",
"update_user_email",
"update_user_metadata",
"create_magic_link", "migrate_user_from_external_source", "create_org", "add_user_to_org"
"create_magic_link", "migrate_user_from_external_source", "create_org", "add_user_to_org",
"delete_user", "disable_user", "enable_user",
"allow_org_to_setup_saml_connection", "disallow_org_to_setup_saml_connection"
])


Expand Down Expand Up @@ -105,4 +107,9 @@ def init_auth(auth_url: str, api_key: str, token_verification_metadata: TokenVer
migrate_user_from_external_source=auth.migrate_user_from_external_source,
create_org=auth.create_org,
add_user_to_org=auth.add_user_to_org,
enable_user=auth.enable_user,
disable_user=auth.disable_user,
delete_user=auth.delete_user,
allow_org_to_setup_saml_connection=auth.allow_org_to_setup_saml_connection,
disallow_org_to_setup_saml_connection=auth.disallow_org_to_setup_saml_connection,
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="propelauth-fastapi",
version="1.1.3",
version="1.1.4",
description="A FastAPI library for managing authentication, backed by PropelAuth",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 77bd778

Please sign in to comment.