def METHOD_NAME(osm_id: int):
    """
    Generates a unique token with the osm_id and current time embedded within it
    :param osm_id: OSM ID of the user authenticating
    :return: Token
    """
    entropy = current_app.secret_key if current_app.secret_key else "un1testingmode"
    serializer = URLSafeTimedSerializer(entropy)
    return serializer.dumps(osm_id)