def generate_client_id():
 client_id_generator = oauth2_settings.CLIENT_ID_GENERATOR_CLASS()
 return client_id_generator.hash()

def generate_client_id ( ) : client_id_generator = oauth2_settings . CLIENT_ID_GENERATOR_CLASS ( ) return client_id_generator . hash ( )
generates an oauth client_id oauth 2 specify the format of client_id in URL#appendix-a .