Add a way to choose the client id to use based on the url domain