There is a legal obligation to credit the author unless the author has agreed to not to be credited or if it is unreasonable to do so. Depending on the author’s preference you are likely to need to seek permission as well as crediting them—unless this is clearly stated it is best to assume that you should seek permission.