Handling auth domain