This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/providers/saml/utils/__init__.py
2020-12-13 18:46:36 +01:00

10 lines
229 B
Python

"""Small helper functions"""
import uuid
def get_random_id() -> str:
"""Random hex id"""
# It is very important that these random IDs NOT start with a number.
random_id = "_" + uuid.uuid4().hex
return random_id