Moved log message to initial call since we don't use this function if idtoken is empty.