def calc_oauth2_client_external(external, location, *extras):
    if not external or not location or None in extras:
        return
    return f'https://{external}{location[0]}' + ''.join(extras)